Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008829/0.0008829, allocations: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009302/0.0009302, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8525/0.8525, allocations: 154.9 MB / 415.9 MB, free: 244 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0.9844 kB / 0.5219 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148e-05/1.278e-05, allocations: 4.219 kB / 0.5219 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001136/0.001148, allocations: 0.64 MB / 0.5225 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.002582, allocations: 1.238 MB / 0.5237 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.002621, allocations: 0.5 kB / 0.5237 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.002643, allocations: 8.906 kB / 0.5237 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.845e-05/0.002712, allocations: 11.86 kB / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.003216, allocations: 213 kB / 0.524 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.003426, allocations: 168.7 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/0.003517, allocations: 15.97 kB / 0.5241 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.003644, allocations: 93.28 kB / 0.5242 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.003754, allocations: 47.91 kB / 0.5243 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.003781, allocations: 16 kB / 0.5243 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.282e-05/0.003844, allocations: 27.98 kB / 0.5243 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.003866, allocations: 13.08 kB / 0.5243 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.003917, allocations: 43.97 kB / 0.5244 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.004075, allocations: 147.5 kB / 0.5245 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004076, allocations: 0.6875 kB / 0.5245 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.2e-07/0.004077, allocations: 0 / 0.5245 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.00408, allocations: 1.281 kB / 0.5245 GB, free: 14.86 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003872/0.004467, allocations: 459.9 kB / 0.5249 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.0045, allocations: 12.03 kB / 0.525 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.004546, allocations: 18.03 kB / 0.525 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.296e-05/0.004619, allocations: 108.6 kB / 0.5251 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.004633, allocations: 4.375 kB / 0.5251 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.004651, allocations: 8.938 kB / 0.5251 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.855e-05/0.00472, allocations: 52.05 kB / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.004727, allocations: 192 / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.004734, allocations: 384 / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.00474, allocations: 4.375 kB / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.004756, allocations: 7.938 kB / 0.5252 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.005048, allocations: 313.9 kB / 0.5254 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.135e-05/0.005109, allocations: 42.97 kB / 0.5255 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.005126, allocations: 11.69 kB / 0.5255 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.79e-06/0.005132, allocations: 0 / 0.5255 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.728e-05/0.005229, allocations: 82.58 kB / 0.5256 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.00523, allocations: 0 / 0.5256 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001708/0.005401, allocations: 93.5 kB / 0.5257 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.005437, allocations: 55.39 kB / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/0.005528, allocations: 183.1 kB / 0.5259 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.005549, allocations: 33.64 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.005609, allocations: 144.3 kB / 0.5261 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/0.00562, allocations: 11.91 kB / 0.5261 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.005682, allocations: 51.33 kB / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.005802, allocations: 0.4884 MB / 0.5266 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.005888, allocations: 103.9 kB / 0.5267 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.827e-05/0.005986, allocations: 150.8 kB / 0.5268 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.006113, allocations: 163 kB / 0.527 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.006114, allocations: 0 / 0.527 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002721/0.006387, allocations: 302.5 kB / 0.5273 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.006429, allocations: 71.33 kB / 0.5274 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.006435, allocations: 4 kB / 0.5274 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.006444, allocations: 4.047 kB / 0.5274 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.621e-05/0.006461, allocations: 9.812 kB / 0.5274 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.006463, allocations: 0 / 0.5274 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.006619, allocations: 43.91 kB / 0.5274 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.006638, allocations: 14.42 kB / 0.5274 GB, free: 11.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.975e-05/0.006717, allocations: 168.5 kB / 0.5276 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.006728, allocations: 7.953 kB / 0.5276 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.006751, allocations: 16.36 kB / 0.5276 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.006754, allocations: 4 kB / 0.5276 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.006756, allocations: 2.125 kB / 0.5276 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.006759, allocations: 0 / 0.5276 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.67e-05/0.006836, allocations: 109.2 kB / 0.5277 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006837, allocations: 0 / 0.5277 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-06/0.006841, allocations: 0 / 0.5277 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.006842, allocations: 0 / 0.5277 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.006847, allocations: 5.031 kB / 0.5277 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.006848, allocations: 0 / 0.5277 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.00685, allocations: 3.938 kB / 0.5277 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.434e-05/0.006944, allocations: 117.2 kB / 0.5278 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.006953, allocations: 7.953 kB / 0.5279 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.006965, allocations: 11.23 kB / 0.5279 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.036e-05/0.006975, allocations: 0 / 0.5279 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.007013, allocations: 11.92 kB / 0.5279 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.007016, allocations: 0 / 0.5279 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.025e-05/0.007056, allocations: 135.1 kB / 0.528 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007056, allocations: 0 / 0.528 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001602/0.007216, allocations: 27.98 kB / 0.528 GB, free: 10.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.496e-05/0.007311, allocations: 102.1 kB / 0.5281 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002025/0.007514, allocations: 266.1 kB / 0.5284 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007515, allocations: 4 kB / 0.5284 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.763e-05/0.007543, allocations: 31.59 kB / 0.5284 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.007692, allocations: 19.73 kB / 0.5284 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.00792, allocations: 158.7 kB / 0.5286 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.217e-05/0.007952, allocations: 59.34 kB / 0.5286 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.807e-05/0.00798, allocations: 5.281 kB / 0.5286 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.008089, allocations: 102.2 kB / 0.5287 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.008089, allocations: 0 / 0.5287 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.004078/0.01217, allocations: 2.278 MB / 0.531 GB, free: 7.902 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8564527346752584]