Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.0006349/0.0006349, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007452/0.0007452, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8529/0.8529, allocations: 177.1 MB / 203.5 MB, free: 5.73 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-531:686: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-531:694: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.6961/0.6961, allocations: 154.6 MB / 414.5 MB, free: 0.7891 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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 4 kB / 0.6193 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.978e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001314/0.001333, allocations: 0.713 MB / 0.62 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009677/0.002301, allocations: 1.178 MB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.453e-05/0.002336, allocations: 0 / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.296e-05/0.002359, allocations: 3.938 kB / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.227e-05/0.002411, allocations: 15.86 kB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.002738, allocations: 137.2 kB / 0.6213 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.002865, allocations: 123.7 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.274e-05/0.002938, allocations: 11.98 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.447e-05/0.003022, allocations: 67.89 kB / 0.6215 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.003087, allocations: 35.88 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.003104, allocations: 8 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.765e-05/0.003152, allocations: 23.98 kB / 0.6216 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.00317, allocations: 11.98 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.00321, allocations: 35.91 kB / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.003356, allocations: 135.6 kB / 0.6218 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003357, allocations: 0 / 0.6218 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003358, allocations: 0 / 0.6218 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.003361, allocations: 7.938 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003789/0.00374, allocations: 335.8 kB / 0.6221 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.003769, allocations: 8.031 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.003804, allocations: 4.938 kB / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.384e-05/0.003868, allocations: 117.6 kB / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.003878, allocations: 4.375 kB / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.003894, allocations: 12.36 kB / 0.6222 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.004008, allocations: 58.23 kB / 0.6223 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.004014, allocations: 192 / 0.6223 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.004023, allocations: 8.375 kB / 0.6223 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.004026, allocations: 384 / 0.6223 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.257e-05/0.004119, allocations: 47.89 kB / 0.6224 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.004427, allocations: 260.4 kB / 0.6226 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.004534, allocations: 58.61 kB / 0.6227 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.137e-05/0.004586, allocations: 28.97 kB / 0.6227 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.004596, allocations: 4 kB / 0.6227 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.004722, allocations: 91.23 kB / 0.6228 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.004723, allocations: 0 / 0.6228 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002463/0.004969, allocations: 141.7 kB / 0.6229 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.004996, allocations: 59.38 kB / 0.623 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.843e-05/0.005055, allocations: 117.8 kB / 0.6231 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.005071, allocations: 29.7 kB / 0.6231 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.005111, allocations: 96.09 kB / 0.6232 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.005127, allocations: 19.83 kB / 0.6232 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.005172, allocations: 37.7 kB / 0.6233 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.00524, allocations: 326.8 kB / 0.6236 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.875e-05/0.005339, allocations: 81.66 kB / 0.6236 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.005443, allocations: 121.9 kB / 0.6238 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.005585, allocations: 137.9 kB / 0.6239 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.005587, allocations: 4 kB / 0.6239 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002489/0.005836, allocations: 232.9 kB / 0.6241 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.005862, allocations: 41.62 kB / 0.6242 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.005866, allocations: 12.06 kB / 0.6242 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.005874, allocations: 0 / 0.6242 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.086e-05/0.005925, allocations: 12.05 kB / 0.6242 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.005932, allocations: 8.312 kB / 0.6242 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.477e-05/0.006027, allocations: 27.97 kB / 0.6242 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.006041, allocations: 11.98 kB / 0.6242 GB, free: 7.84 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 6.333e-05/0.006105, allocations: 122.8 kB / 0.6243 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-06/0.006113, allocations: 15.89 kB / 0.6244 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.977e-05/0.006133, allocations: 8.438 kB / 0.6244 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.006136, allocations: 4 kB / 0.6244 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.00614, allocations: 7.922 kB / 0.6244 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006143, allocations: 0 / 0.6244 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.0064, allocations: 326 kB / 0.6247 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.006401, allocations: 0 / 0.6247 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.006425, allocations: 11.92 kB / 0.6247 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.006427, allocations: 8 kB / 0.6247 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.006435, allocations: 7.984 kB / 0.6247 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.006436, allocations: 0 / 0.6247 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.006436, allocations: 0 / 0.6247 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.006581, allocations: 207.4 kB / 0.6249 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-06/0.006588, allocations: 3.953 kB / 0.6249 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.006603, allocations: 4 kB / 0.6249 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.293e-05/0.006646, allocations: 11.98 kB / 0.6249 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.006676, allocations: 3.984 kB / 0.6249 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.00668, allocations: 8 kB / 0.6249 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.324e-05/0.006713, allocations: 98.92 kB / 0.625 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006713, allocations: 0 / 0.625 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001654/0.006878, allocations: 24 kB / 0.6251 GB, free: 6.922 MB / 0.5886 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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 8.726e-05/0.006966, allocations: 103.2 kB / 0.6252 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.007182, allocations: 189 kB / 0.6253 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.007183, allocations: 256 / 0.6253 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.104e-05/0.007244, allocations: 39.97 kB / 0.6254 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.007417, allocations: 18.27 kB / 0.6254 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.007668, allocations: 179.3 kB / 0.6256 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.144e-05/0.00771, allocations: 71.33 kB / 0.6256 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.007731, allocations: 16.44 kB / 0.6257 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of SimCode: time 4.31e-07/0.007731, allocations: 4 kB / 0.6257 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of Templates: time 0.001804/0.009535, allocations: 1.279 MB / 0.6269 GB, free: 4.977 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.875459767878056] Failed to read output from testmodel.py, exit status != 0: 0.013543195091187954 0.021256853000000003 0.016254498000000003 Calling exit ...