Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.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.001056/0.001056, allocations: 105.9 kB / 18.93 MB, free: 1.27 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.00192/0.00192, allocations: 217.8 kB / 22.25 MB, free: 3.703 MB / 13.93 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.9709/0.9709, allocations: 230.6 MB / 256 MB, free: 9.797 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03927/0.03927, allocations: 12.18 MB / 324.6 MB, free: 6.262 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000438/0.000438, allocations: 39.77 kB / 384.1 MB, free: 10.67 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.702/1.702, allocations: 353.8 MB / 0.7787 GB, free: 3.109 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001486/0.001486, allocations: 122 kB / 1.06 GB, free: 25.01 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2512, allocations: 134.9 MB / 1.192 GB, free: 7.871 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001454/0.2527, allocations: 0.7329 MB / 1.192 GB, free: 7.141 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2541, allocations: 1.32 MB / 1.194 GB, free: 5.809 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.291e-05/0.2542, allocations: 0 / 1.194 GB, free: 5.809 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.283e-05/0.2542, allocations: 11.86 kB / 1.194 GB, free: 5.797 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.2544, allocations: 19.8 kB / 1.194 GB, free: 5.777 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008496/0.2552, allocations: 246.9 kB / 1.194 GB, free: 5.543 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.2555, allocations: 251.6 kB / 1.194 GB, free: 5.297 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.2556, allocations: 12.22 kB / 1.194 GB, free: 5.281 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.2557, allocations: 107.8 kB / 1.194 GB, free: 5.176 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.2559, allocations: 91.75 kB / 1.194 GB, free: 5.086 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.2559, allocations: 24 kB / 1.194 GB, free: 5.062 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-05/0.256, allocations: 39.98 kB / 1.195 GB, free: 5.023 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.256, allocations: 31.89 kB / 1.195 GB, free: 4.992 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.2561, allocations: 91.75 kB / 1.195 GB, free: 4.902 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.2563, allocations: 231.5 kB / 1.195 GB, free: 4.676 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2563, allocations: 4 kB / 1.195 GB, free: 4.672 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2563, allocations: 0 / 1.195 GB, free: 4.672 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2563, allocations: 0 / 1.195 GB, free: 4.672 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005371/0.2569, allocations: 421.3 kB / 1.195 GB, free: 4.215 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2569, allocations: 12.03 kB / 1.195 GB, free: 4.203 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.2569, allocations: 42.73 kB / 1.195 GB, free: 4.152 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.257, allocations: 16.89 kB / 1.195 GB, free: 4.137 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.2574, allocations: 194.5 kB / 1.196 GB, free: 3.922 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.2574, allocations: 12.38 kB / 1.196 GB, free: 3.91 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.2574, allocations: 24.36 kB / 1.196 GB, free: 3.887 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.2576, allocations: 135.6 kB / 1.196 GB, free: 3.742 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.2576, allocations: 7.984 kB / 1.196 GB, free: 3.734 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.2576, allocations: 0 / 1.196 GB, free: 3.734 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2576, allocations: 4 kB / 1.196 GB, free: 3.73 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.889e-05/0.2577, allocations: 59.95 kB / 1.196 GB, free: 3.672 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.2583, allocations: 495.7 kB / 1.196 GB, free: 3.141 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.2586, allocations: 145.1 kB / 1.196 GB, free: 2.98 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.07e-05/0.2586, allocations: 49.69 kB / 1.196 GB, free: 2.926 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.2586, allocations: 0 / 1.196 GB, free: 2.926 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003222/0.259, allocations: 214.9 kB / 1.197 GB, free: 2.699 MB / 0.823 GB Notification: Performance of pre-optimization done (n=22): time 1.112e-06/0.259, allocations: 0 / 1.197 GB, free: 2.699 MB / 0.823 GB Notification: Performance of matching and sorting (n=22): time 0.0004017/0.2594, allocations: 304.7 kB / 1.197 GB, free: 2.398 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.2594, allocations: 93.03 kB / 1.197 GB, free: 2.289 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.2597, allocations: 130 kB / 1.197 GB, free: 2.152 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.2598, allocations: 41.7 kB / 1.197 GB, free: 2.105 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.2598, allocations: 92.64 kB / 1.197 GB, free: 2.012 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.2599, allocations: 55.58 kB / 1.197 GB, free: 1.957 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.2599, allocations: 73.67 kB / 1.197 GB, free: 1.879 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.552e-05/0.26, allocations: 326.8 kB / 1.198 GB, free: 1.551 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.2601, allocations: 92.17 kB / 1.198 GB, free: 1.457 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.2603, allocations: 160.2 kB / 1.198 GB, free: 1.273 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.2605, allocations: 247 kB / 1.198 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2605, allocations: 4 kB / 1.198 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003828/0.2609, allocations: 356 kB / 1.199 GB, free: 0.625 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.2609, allocations: 69.11 kB / 1.199 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2609, allocations: 4 kB / 1.199 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.2609, allocations: 4.219 kB / 1.199 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.261, allocations: 31.8 kB / 1.199 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.261, allocations: 7.938 kB / 1.199 GB, free: 0.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.2612, allocations: 63.83 kB / 1.199 GB, free: 448 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.2612, allocations: 19.98 kB / 1.199 GB, free: 428 kB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * 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.0001272/0.2614, allocations: 147.8 kB / 1.199 GB, free: 272 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.2614, allocations: 11.95 kB / 1.199 GB, free: 260 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.2614, allocations: 12.44 kB / 1.199 GB, free: 244 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2614, allocations: 7.938 kB / 1.199 GB, free: 236 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2614, allocations: 0 / 1.199 GB, free: 236 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2615, allocations: 3.984 kB / 1.199 GB, free: 232 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.2619, allocations: 0.5865 MB / 1.199 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2619, allocations: 0 / 1.199 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.262, allocations: 23.92 kB / 1.199 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.262, allocations: 3.938 kB / 1.199 GB, free: 15.56 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.262, allocations: 8 kB / 1.199 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.262, allocations: 4 kB / 1.199 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.262, allocations: 3.984 kB / 1.199 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.2623, allocations: 406.6 kB / 1.2 GB, free: 15.13 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.2623, allocations: 15.84 kB / 1.2 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.2623, allocations: 23.86 kB / 1.2 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.979e-05/0.2624, allocations: 11.98 kB / 1.2 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.2624, allocations: 23.95 kB / 1.2 GB, free: 15.06 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.2624, allocations: 15.98 kB / 1.2 GB, free: 15.04 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.988e-05/0.2625, allocations: 95.27 kB / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of sort global known variables: time 8e-08/0.2625, allocations: 0 / 1.2 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002474/0.2627, allocations: 52 kB / 1.2 GB, free: 14.9 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0005769/0.2633, allocations: 0.9589 MB / 1.201 GB, free: 13.91 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003664/0.2637, allocations: 325.7 kB / 1.201 GB, free: 13.57 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2637, allocations: 0 / 1.201 GB, free: 13.57 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 9.78e-05/0.2638, allocations: 88.36 kB / 1.201 GB, free: 13.49 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.2641, allocations: 24.22 kB / 1.201 GB, free: 13.46 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.2662, allocations: 2.294 MB / 1.204 GB, free: 11.03 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/0.2668, allocations: 0.7047 MB / 1.204 GB, free: 10.29 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 7.379e-05/0.2669, allocations: 17.48 kB / 1.204 GB, free: 10.28 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.267, allocations: 43.42 kB / 1.204 GB, free: 10.23 MB / 0.8387 GB Notification: Performance of SimCode: time 1.062e-06/0.267, allocations: 0 / 1.204 GB, free: 10.23 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.2914, allocations: 4.338 MB / 1.209 GB, free: 6.047 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.955/7.246, allocations: 5.828 kB / 1.209 GB, free: 6.043 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Timer.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.823161956854165] Failed to read output from testmodel.py, exit status != 0: 7.326589935459197 7.33983894 7.081703733 Calling exit ...