Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.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.0007859/0.0007859, allocations: 88.42 kB / 19.92 MB, free: 4.492 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.0008182/0.0008182, allocations: 169.2 kB / 23.2 MB, free: 1.215 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.9089/0.9089, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7134/0.7134, allocations: 154.7 MB / 414.7 MB, free: 0.7773 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.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [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.0009233/0.0009233, allocations: 71.89 kB / 0.6195 GB, free: 13.13 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.4751/0.476, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.001547/0.4776, allocations: 0.8317 MB / 0.7199 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.4788, allocations: 1.341 MB / 0.7212 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.4788, allocations: 1.25 kB / 0.7212 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.479, allocations: 14.83 kB / 0.7212 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.4791, allocations: 38.06 kB / 0.7213 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.4796, allocations: 273.1 kB / 0.7215 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.4799, allocations: 280.9 kB / 0.7218 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.48, allocations: 32.64 kB / 0.7218 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.4803, allocations: 181.5 kB / 0.722 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.4805, allocations: 116.7 kB / 0.7221 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.4805, allocations: 27.69 kB / 0.7221 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.263e-05/0.4806, allocations: 42.16 kB / 0.7222 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.425e-05/0.4807, allocations: 44.67 kB / 0.7222 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.213e-05/0.4807, allocations: 88.14 kB / 0.7223 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.4811, allocations: 323.5 kB / 0.7226 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4811, allocations: 1.984 kB / 0.7226 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4811, allocations: 0 / 0.7226 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.4811, allocations: 3.938 kB / 0.7226 GB, free: 21.52 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006796/0.4818, allocations: 476.6 kB / 0.7231 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4818, allocations: 9.688 kB / 0.7231 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.4819, allocations: 34.5 kB / 0.7231 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.4821, allocations: 170.6 kB / 0.7233 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.4821, allocations: 10.42 kB / 0.7233 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.4822, allocations: 21.09 kB / 0.7233 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.4824, allocations: 189 kB / 0.7235 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.4825, allocations: 192 / 0.7235 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.4825, allocations: 8.453 kB / 0.7235 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.4825, allocations: 2.312 kB / 0.7235 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.4826, allocations: 93.75 kB / 0.7236 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.483, allocations: 365.3 kB / 0.7239 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.4832, allocations: 119.1 kB / 0.7241 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.4833, allocations: 79.75 kB / 0.7241 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.4833, allocations: 2.25 kB / 0.7241 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.4836, allocations: 210.3 kB / 0.7243 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=28): time 1.222e-06/0.4836, allocations: 0 / 0.7243 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28): time 0.0006391/0.4842, allocations: 473.3 kB / 0.7248 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.4842, allocations: 55.3 kB / 0.7248 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.819e-05/0.4843, allocations: 140.8 kB / 0.725 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.4843, allocations: 40.22 kB / 0.725 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.4844, allocations: 101.8 kB / 0.7251 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.4844, allocations: 75.98 kB / 0.7252 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/0.4845, allocations: 86.98 kB / 0.7253 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.877e-05/0.4846, allocations: 334.2 kB / 0.7256 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.4848, allocations: 208.2 kB / 0.7258 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.485, allocations: 269.9 kB / 0.726 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.4853, allocations: 367.4 kB / 0.7264 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4853, allocations: 0 / 0.7264 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005503/0.4859, allocations: 0.562 MB / 0.7269 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.4859, allocations: 67.62 kB / 0.727 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4859, allocations: 6.562 kB / 0.727 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4859, allocations: 2.375 kB / 0.727 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.4861, allocations: 49.81 kB / 0.7271 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.4861, allocations: 4.094 kB / 0.7271 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.4863, allocations: 74.19 kB / 0.7271 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.4863, allocations: 23.66 kB / 0.7272 GB, free: 18.59 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition5,$whenCondition6,booPul1.y,$PRE.booPul1.y,$whenCondition4,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2,triMovMea2.ySample[3],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[1],triMovMea2.index,triMovMea2.counter,$PRE.triMovMea2.counter,triMovMea2.iSample,$PRE.triMovMea2.iSample,triMovMea2.y,triMovMea1.ySample[1],$PRE.triMovMea1.ySample[1],triMovMea1.index,triMovMea1.counter,$PRE.triMovMea1.counter,triMovMea1.iSample,$PRE.triMovMea1.iSample,triMovMea1.y,triMovMea.ySample[3],$PRE.triMovMea.ySample[3],triMovMea.ySample[2],$PRE.triMovMea.ySample[2],triMovMea.ySample[1],$PRE.triMovMea.ySample[1],triMovMea.index,triMovMea.counter,$PRE.triMovMea.counter,triMovMea.iSample,$PRE.triMovMea.iSample,triMovMea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 35 * Array equations: 2 * 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 0.0001051/0.4864, allocations: 174.7 kB / 0.7273 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.4864, allocations: 20.02 kB / 0.7273 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.4865, allocations: 18.02 kB / 0.7274 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4865, allocations: 4.734 kB / 0.7274 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4865, allocations: 0.7031 kB / 0.7274 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.4865, allocations: 13.44 kB / 0.7274 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.4865, allocations: 21.22 kB / 0.7274 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.159e-05/0.4866, allocations: 10.03 kB / 0.7274 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.4866, allocations: 22.44 kB / 0.7274 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004031/0.487, allocations: 432 kB / 0.7278 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00044/0.4875, allocations: 0.5308 MB / 0.7284 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001334/0.4876, allocations: 91.27 kB / 0.7284 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.451e-05/0.4876, allocations: 105.7 kB / 0.7285 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of Backend: time 1.2e-07/0.4876, allocations: 0 / 0.7285 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006165/0.4882, allocations: 470.9 kB / 0.729 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0005221/0.4888, allocations: 0.7379 MB / 0.7297 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.006451/0.4952, allocations: 4.169 MB / 0.7338 GB, free: 16.34 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.456550872884691] Failed to read output from testmodel.py, exit status != 0: 0.5006113380659372 0.511877986 0.028451247000000002 Calling exit ...