Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.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.0009258/0.0009258, allocations: 76.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.0008999/0.0008999, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.9886/0.9886, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7678/0.7678, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.124e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002287/0.002308, allocations: 1.483 MB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006123/0.002921, allocations: 450.8 kB / 0.6199 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.146e-05/0.002962, allocations: 4 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.002991, allocations: 7.938 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.003071, allocations: 11.91 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.003222, allocations: 19.92 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.95e-05/0.003311, allocations: 51.83 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.003423, allocations: 8 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.955e-05/0.003492, allocations: 35.91 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.003554, allocations: 15.91 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.003579, allocations: 4 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.003589, allocations: 4 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.003611, allocations: 11.98 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.003646, allocations: 15.98 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.003752, allocations: 47.81 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.003755, allocations: 7.984 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.403e-06/0.003756, allocations: 3.938 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.003761, allocations: 0 / 0.6202 GB, free: 11.49 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004149/0.004176, allocations: 274.3 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.004219, allocations: 12.03 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.004251, allocations: 38.73 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.004277, allocations: 8.891 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.004379, allocations: 113.7 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.004391, allocations: 8.375 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.004402, allocations: 4.375 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.419e-05/0.004496, allocations: 62.23 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.004504, allocations: 4.125 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.004514, allocations: 4.125 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.004518, allocations: 0 / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.756e-05/0.004576, allocations: 31.92 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.004952, allocations: 263.8 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.919e-05/0.005041, allocations: 54.59 kB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.005075, allocations: 28.94 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.005084, allocations: 0 / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/0.00522, allocations: 67.39 kB / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 9.21e-07/0.005221, allocations: 0 / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002286/0.00545, allocations: 97.61 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.005492, allocations: 55.41 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.46e-05/0.005567, allocations: 118.2 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.005578, allocations: 25.7 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.00562, allocations: 88.14 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.00564, allocations: 31.72 kB / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.005675, allocations: 29.66 kB / 0.6215 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.005851, allocations: 322.8 kB / 0.6218 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.005879, allocations: 16 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.939e-05/0.005918, allocations: 43.42 kB / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.774e-05/0.005986, allocations: 67.36 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005988, allocations: 0 / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001025/0.00609, allocations: 101.6 kB / 0.6221 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.006103, allocations: 6.031 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006107, allocations: 0 / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.00612, allocations: 8.031 kB / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.807e-05/0.006178, allocations: 15.94 kB / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.006184, allocations: 0 / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.006228, allocations: 11.92 kB / 0.6221 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.006234, allocations: 4 kB / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.943e-05/0.006304, allocations: 122.8 kB / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.006312, allocations: 7.953 kB / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.959e-05/0.006332, allocations: 4.125 kB / 0.6222 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.006333, allocations: 0 / 0.6222 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.006339, allocations: 8 kB / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.006343, allocations: 0 / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.006628, allocations: 325.5 kB / 0.6225 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.00663, allocations: 0 / 0.6225 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.621e-05/0.006646, allocations: 11.92 kB / 0.6226 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.006647, allocations: 0 / 0.6226 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.006655, allocations: 4 kB / 0.6226 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.006656, allocations: 3.984 kB / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.006657, allocations: 0 / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.006759, allocations: 187.4 kB / 0.6227 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.006769, allocations: 12.08 kB / 0.6228 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.006779, allocations: 4 kB / 0.6228 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.019e-05/0.006819, allocations: 11.92 kB / 0.6228 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.006859, allocations: 11.98 kB / 0.6228 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.006865, allocations: 3.938 kB / 0.6228 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.807e-05/0.006893, allocations: 83.55 kB / 0.6229 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006893, allocations: 4 kB / 0.6229 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001525/0.007046, allocations: 12 kB / 0.6229 GB, free: 8.426 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 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002757/0.007321, allocations: 0.7046 MB / 0.6236 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.007425, allocations: 59.91 kB / 0.6236 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.007427, allocations: 0 / 0.6236 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.498e-05/0.007462, allocations: 23.94 kB / 0.6236 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.007659, allocations: 15.92 kB / 0.6237 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009053/0.008565, allocations: 1.378 MB / 0.625 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.988e-05/0.008614, allocations: 67.34 kB / 0.6251 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.494e-05/0.008639, allocations: 11.95 kB / 0.6251 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.008683, allocations: 24.48 kB / 0.6251 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of SimCode: time 7.92e-07/0.008683, allocations: 0 / 0.6251 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.02341, allocations: 2.455 MB / 0.6275 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.137/7.161, allocations: 2.188 kB / 0.6275 GB, free: 3.703 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.220468373037875] Failed to read output from testmodel.py, exit status != 0: 7.243418105877936 7.251665647 7.24611943 Calling exit ...