Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.0009806/0.0009806, allocations: 76.52 kB / 19.91 MB, free: 4.641 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.001072/0.001072, allocations: 169.2 kB / 23.2 MB, free: 1.359 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.9003/0.9003, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7282/0.7282, allocations: 154.7 MB / 414.7 MB, free: 0.7695 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.VariablePulseMinHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 71.91 kB / 0.6196 GB, free: 13.12 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5147/0.5158, allocations: 101.9 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002067/0.5179, allocations: 1.028 MB / 0.7201 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.5198, allocations: 1.608 MB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.5199, allocations: 7.188 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.52, allocations: 24.69 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.5201, allocations: 41.73 kB / 0.7218 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.5206, allocations: 221.9 kB / 0.722 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.5209, allocations: 328.4 kB / 0.7223 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.521, allocations: 61.97 kB / 0.7223 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.5212, allocations: 197.6 kB / 0.7225 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.5214, allocations: 108.3 kB / 0.7226 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.218e-05/0.5214, allocations: 32.25 kB / 0.7227 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.5215, allocations: 45.95 kB / 0.7227 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.5215, allocations: 56.61 kB / 0.7228 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.778e-05/0.5216, allocations: 106.5 kB / 0.7229 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.522, allocations: 410.9 kB / 0.7233 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.522, allocations: 1.641 kB / 0.7233 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/0.522, allocations: 0 / 0.7233 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.522, allocations: 0 / 0.7233 GB, free: 21.03 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006573/0.5227, allocations: 486.9 kB / 0.7237 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.5227, allocations: 8.969 kB / 0.7237 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.5228, allocations: 27.05 kB / 0.7238 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.5231, allocations: 209 kB / 0.724 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.5231, allocations: 23.92 kB / 0.724 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.5231, allocations: 22.97 kB / 0.724 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.5234, allocations: 181.8 kB / 0.7242 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5234, allocations: 4 kB / 0.7242 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.5234, allocations: 13.83 kB / 0.7242 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5234, allocations: 4.031 kB / 0.7242 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.5237, allocations: 134 kB / 0.7243 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006648/0.5243, allocations: 0.4985 MB / 0.7248 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.5246, allocations: 174.8 kB / 0.725 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.5248, allocations: 72.55 kB / 0.725 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.5248, allocations: 2.406 kB / 0.725 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002927/0.5251, allocations: 204.7 kB / 0.7252 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 4.188e-06/0.5251, allocations: 0 / 0.7252 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.0005231/0.5256, allocations: 333.8 kB / 0.7256 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.5256, allocations: 59.89 kB / 0.7256 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.5258, allocations: 182.6 kB / 0.7258 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.5258, allocations: 42.52 kB / 0.7258 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.5259, allocations: 123.8 kB / 0.726 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.5259, allocations: 66.12 kB / 0.726 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.052e-05/0.526, allocations: 69.86 kB / 0.7261 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.313e-05/0.526, allocations: 335.7 kB / 0.7264 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.5262, allocations: 131.1 kB / 0.7265 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.5263, allocations: 204.9 kB / 0.7267 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.5265, allocations: 209.5 kB / 0.7269 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5265, allocations: 0 / 0.7269 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003887/0.5269, allocations: 384 kB / 0.7273 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.527, allocations: 35.3 kB / 0.7273 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.527, allocations: 1.734 kB / 0.7273 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.527, allocations: 2.75 kB / 0.7273 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.017e-05/0.5271, allocations: 29.03 kB / 0.7274 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.5271, allocations: 1.969 kB / 0.7274 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.5272, allocations: 52.11 kB / 0.7274 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.5272, allocations: 15.25 kB / 0.7274 GB, free: 18.23 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition6,$whenCondition7,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.entryTimeFalse,$PRE.conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,$PRE.conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.not_y,$PRE.conChaWid.truFalHol.not_y,conChaWid.truFalHol.not_u,$PRE.conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,$PRE.conChaWid.truFalHol.y,conChaWid.truFalHol.u,$PRE.conChaWid.truFalHol.u,conChaWid.cycOut.t0,$PRE.conChaWid.cycOut.t0,conChaWid.preBre.u,conChaWid.edg2.y,conChaWid.edg2.u,$PRE.conChaWid.edg2.u,conChaWid.triSam.y,$PRE.conChaWid.triSam.y,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 9.24e-05/0.5273, allocations: 153.4 kB / 0.7276 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.5274, allocations: 25.06 kB / 0.7276 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003833/0.5277, allocations: 272.3 kB / 0.7278 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.5277, allocations: 10.58 kB / 0.7279 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5277, allocations: 3.938 kB / 0.7279 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.5278, allocations: 18.59 kB / 0.7279 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.5278, allocations: 15.08 kB / 0.7279 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.5279, allocations: 16.69 kB / 0.7279 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.5279, allocations: 25.52 kB / 0.7279 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000345/0.5283, allocations: 339.7 kB / 0.7283 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003614/0.5287, allocations: 443.8 kB / 0.7287 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001386/0.5288, allocations: 90.61 kB / 0.7288 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.94e-05/0.5289, allocations: 130.4 kB / 0.7289 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of Backend: time 2.51e-07/0.5289, allocations: 0 / 0.7289 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000591/0.5295, allocations: 319.4 kB / 0.7292 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0006602/0.5301, allocations: 0.7734 MB / 0.73 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of Templates: time 0.006872/0.537, allocations: 3.799 MB / 0.7337 GB, free: 16.01 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.261986006051302] Failed to read output from testmodel.py, exit status != 0: 0.543439945904538 0.552241598 0.028218180000000002 Calling exit ...