Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009104/0.0009104, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009188/0.0009188, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 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 0.8838/0.8838, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7251/0.7251, allocations: 154.6 MB / 414.8 MB, free: 0.5391 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 0 / 0.5208 GB, free: 1.871 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.15e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001216/0.001238, allocations: 0.6433 MB / 0.5214 GB, free: 1.246 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.002412, allocations: 1.242 MB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.002452, allocations: 0 / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.389e-05/0.002476, allocations: 3.938 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/0.00254, allocations: 11.86 kB / 0.5226 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.00294, allocations: 208.8 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.003101, allocations: 176.2 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.419e-05/0.003175, allocations: 12.73 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.003285, allocations: 91.86 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.962e-05/0.003375, allocations: 57.27 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.0034, allocations: 16 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.486e-05/0.003455, allocations: 27.97 kB / 0.5232 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.003472, allocations: 8 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.003515, allocations: 53.23 kB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.003653, allocations: 135.6 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.003655, allocations: 4 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003656, allocations: 3.531 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.003659, allocations: 0 / 0.5234 GB, free: 15.21 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.0003662/0.004026, allocations: 459.9 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.004059, allocations: 8.031 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.004098, allocations: 20.81 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.778e-05/0.004166, allocations: 112.6 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.004178, allocations: 8.375 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.004196, allocations: 12.38 kB / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.442e-05/0.004261, allocations: 38.23 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.004267, allocations: 192 / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-06/0.004272, allocations: 4.938 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004276, allocations: 0.9375 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.7e-05/0.004293, allocations: 15.88 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.004575, allocations: 305.3 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.553e-05/0.004631, allocations: 40.5 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.004646, allocations: 15.69 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-06/0.004651, allocations: 0 / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.795e-05/0.004729, allocations: 81.05 kB / 0.5245 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.00473, allocations: 0.8438 kB / 0.5245 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001478/0.004878, allocations: 97.55 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.004904, allocations: 52.31 kB / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.004987, allocations: 181.8 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.005009, allocations: 35.36 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.005064, allocations: 134.9 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.005077, allocations: 15.89 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.005143, allocations: 59.33 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.00526, allocations: 0.4884 MB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.005336, allocations: 100.1 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.605e-05/0.005422, allocations: 145.8 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.005524, allocations: 161.4 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.005526, allocations: 0 / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003082/0.005834, allocations: 304.2 kB / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.005874, allocations: 71.33 kB / 0.5262 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.005878, allocations: 2.75 kB / 0.5262 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.005891, allocations: 0 / 0.5262 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.942e-05/0.00591, allocations: 7.938 kB / 0.5262 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.005913, allocations: 64 / 0.5262 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.00608, allocations: 43.91 kB / 0.5263 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.006106, allocations: 13.2 kB / 0.5263 GB, free: 11.91 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 9.537e-05/0.006202, allocations: 164.6 kB / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.006218, allocations: 15.88 kB / 0.5265 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.006252, allocations: 17.31 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.006255, allocations: 0 / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.006257, allocations: 0.9375 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.006261, allocations: 0 / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.351e-05/0.006344, allocations: 113.2 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.006346, allocations: 0.6562 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-06/0.006355, allocations: 5.125 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.006357, allocations: 0 / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.006362, allocations: 0 / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.006364, allocations: 0 / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.006367, allocations: 10.36 kB / 0.5266 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.993e-05/0.006467, allocations: 116.7 kB / 0.5267 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-06/0.006476, allocations: 11.94 kB / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-06/0.006483, allocations: 0 / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.2e-05/0.006495, allocations: 0 / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.006524, allocations: 19.91 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.006528, allocations: 3.125 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.993e-05/0.006568, allocations: 135.6 kB / 0.5269 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006568, allocations: 0 / 0.5269 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001444/0.006712, allocations: 32 kB / 0.5269 GB, free: 11.23 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 0.0001064/0.006819, allocations: 95.25 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.00703, allocations: 267.3 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.007032, allocations: 0 / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.007058, allocations: 27.67 kB / 0.5273 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.00722, allocations: 15.89 kB / 0.5273 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.00746, allocations: 166.6 kB / 0.5275 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.138e-05/0.007492, allocations: 59.34 kB / 0.5275 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.034e-05/0.007512, allocations: 8 kB / 0.5275 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.895e-05/0.007611, allocations: 106.2 kB / 0.5276 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.007612, allocations: 0 / 0.5276 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.004011/0.01162, allocations: 2.217 MB / 0.5298 GB, free: 8.316 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3473658240400255]