Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001872/0.001872, allocations: 117.3 kB / 17.16 MB, free: 5.914 MB / 14.72 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.002368/0.002368, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 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 1.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003408/0.003408, allocations: 281.8 kB / 309.8 MB, free: 3.465 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.086/1.086, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00295/0.00295, allocations: 115.8 kB / 0.7346 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4865/0.4894, allocations: 95.32 MB / 0.8277 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002374/0.4918, allocations: 1.496 MB / 0.8292 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006878/0.4925, allocations: 484.6 kB / 0.8297 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.4925, allocations: 0 / 0.8297 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.4926, allocations: 5.297 kB / 0.8297 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.048e-05/0.4926, allocations: 10.09 kB / 0.8297 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.4928, allocations: 30.59 kB / 0.8297 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.759e-05/0.4928, allocations: 48.38 kB / 0.8297 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.717e-05/0.4929, allocations: 9.547 kB / 0.8298 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.982e-05/0.493, allocations: 29.66 kB / 0.8298 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.4931, allocations: 21.28 kB / 0.8298 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.4931, allocations: 2.938 kB / 0.8298 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.4931, allocations: 8.219 kB / 0.8298 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.4931, allocations: 14.22 kB / 0.8298 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.4931, allocations: 20.44 kB / 0.8299 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.919e-05/0.4932, allocations: 44.83 kB / 0.8299 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.4932, allocations: 0 / 0.8299 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4932, allocations: 0 / 0.8299 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.4932, allocations: 0 / 0.8299 GB, free: 1.574 MB / 0.5762 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.0004299/0.4937, allocations: 368.3 kB / 0.8302 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4937, allocations: 12.5 kB / 0.8303 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.73e-05/0.4937, allocations: 1.469 kB / 0.8303 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.211e-05/0.4938, allocations: 35.22 kB / 0.8303 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.4938, allocations: 4.453 kB / 0.8303 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.385e-05/0.4939, allocations: 180.2 kB / 0.8305 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.4939, allocations: 2.141 kB / 0.8305 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.4939, allocations: 4.891 kB / 0.8305 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.494, allocations: 59.09 kB / 0.8305 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.494, allocations: 0.7031 kB / 0.8305 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.494, allocations: 8 kB / 0.8305 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.494, allocations: 0 / 0.8305 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.442e-05/0.4941, allocations: 27.7 kB / 0.8306 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.4945, allocations: 294.7 kB / 0.8308 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.489e-05/0.4946, allocations: 51.78 kB / 0.8309 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.4946, allocations: 33.5 kB / 0.8309 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.4946, allocations: 0 / 0.8309 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.4948, allocations: 75.89 kB / 0.831 GB, free: 500 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.4948, allocations: 3.938 kB / 0.831 GB, free: 496 kB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002065/0.495, allocations: 95.02 kB / 0.8311 GB, free: 444 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.495, allocations: 54.97 kB / 0.8311 GB, free: 380 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.664e-05/0.4951, allocations: 106.2 kB / 0.8312 GB, free: 272 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.4951, allocations: 41.33 kB / 0.8313 GB, free: 228 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.4951, allocations: 85.81 kB / 0.8314 GB, free: 140 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.4951, allocations: 22.59 kB / 0.8314 GB, free: 124 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.4952, allocations: 27.62 kB / 0.8314 GB, free: 100 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4953, allocations: 323.3 kB / 0.8317 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.882e-05/0.4953, allocations: 18.94 kB / 0.8317 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/0.4954, allocations: 44.91 kB / 0.8318 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.815e-05/0.4955, allocations: 69.73 kB / 0.8319 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4955, allocations: 4 kB / 0.8319 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001605/0.4957, allocations: 92.09 kB / 0.8319 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4957, allocations: 5.656 kB / 0.8319 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4957, allocations: 3.438 kB / 0.832 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.4957, allocations: 0 / 0.832 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.261e-05/0.4958, allocations: 10.11 kB / 0.832 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4958, allocations: 12.62 kB / 0.832 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.381e-05/0.4958, allocations: 15.23 kB / 0.832 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.4958, allocations: 2.906 kB / 0.832 GB, free: 15.6 MB / 0.5919 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 9.646e-05/0.4959, allocations: 118 kB / 0.8321 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.496, allocations: 4.75 kB / 0.8321 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.496, allocations: 10.33 kB / 0.8321 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.496, allocations: 1.625 kB / 0.8321 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.496, allocations: 0 / 0.8321 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.496, allocations: 4.641 kB / 0.8321 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.4964, allocations: 359.2 kB / 0.8325 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4964, allocations: 0 / 0.8325 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.4965, allocations: 7.531 kB / 0.8325 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4965, allocations: 0.6562 kB / 0.8325 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4965, allocations: 8.031 kB / 0.8325 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4965, allocations: 5.875 kB / 0.8325 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4965, allocations: 3.938 kB / 0.8325 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.4967, allocations: 188.2 kB / 0.8327 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.4967, allocations: 81.67 kB / 0.8327 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.4967, allocations: 7.156 kB / 0.8328 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.4968, allocations: 5.234 kB / 0.8328 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.4968, allocations: 6.859 kB / 0.8328 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.4969, allocations: 6.656 kB / 0.8328 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.643e-05/0.4969, allocations: 81.2 kB / 0.8329 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.4969, allocations: 0 / 0.8329 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002427/0.4971, allocations: 23.14 kB / 0.8329 GB, free: 14.77 MB / 0.5919 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.000484/0.4976, allocations: 0.7135 MB / 0.8336 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001434/0.4978, allocations: 56.23 kB / 0.8336 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4978, allocations: 0 / 0.8336 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.31e-05/0.4978, allocations: 24.83 kB / 0.8336 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.4981, allocations: 23.48 kB / 0.8337 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.4995, allocations: 1.372 MB / 0.835 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.4998, allocations: 0.6967 MB / 0.8357 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.234e-05/0.4999, allocations: 4.922 kB / 0.8357 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.4999, allocations: 17.23 kB / 0.8357 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.4999, allocations: 0 / 0.8357 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.518, allocations: 1.82 MB / 0.8375 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/8.85, allocations: 4.531 kB / 0.8375 GB, free: 11.64 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.784991892986] Failed to read output from testmodel.py, exit status != 0: 8.975024167040829 8.992865107 8.496191866 Calling exit ...