Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.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.0008148/0.0008148, allocations: 109.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.0008964/0.0008964, allocations: 214.6 kB / 22.26 MB, free: 3.852 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.9503/0.9503, allocations: 230.6 MB / 256 MB, free: 3.469 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.03738/0.03738, allocations: 12.19 MB / 324.6 MB, free: 3.426 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.0004643/0.0004643, allocations: 31.09 kB / 384.1 MB, free: 45.79 MB / 298.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.756/1.756, allocations: 353.8 MB / 0.7787 GB, free: 13.12 MB / 0.5262 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.Utilities.Validation.Assert,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Utilities_Validation_Assert",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.002095/0.002095, allocations: 131.8 kB / 1.06 GB, free: 9.957 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2555, allocations: 134.9 MB / 1.192 GB, free: 3.152 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001503/0.257, allocations: 0.5779 MB / 1.192 GB, free: 2.578 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2581, allocations: 1.173 MB / 1.193 GB, free: 1.395 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.2582, allocations: 0 / 1.193 GB, free: 1.395 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.2582, allocations: 3.938 kB / 1.193 GB, free: 1.391 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.2583, allocations: 3.938 kB / 1.193 GB, free: 1.387 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.2587, allocations: 118.6 kB / 1.194 GB, free: 1.273 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.2588, allocations: 99.81 kB / 1.194 GB, free: 1.176 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.48e-05/0.2589, allocations: 3.984 kB / 1.194 GB, free: 1.172 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.381e-05/0.259, allocations: 35.92 kB / 1.194 GB, free: 1.137 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.317e-05/0.259, allocations: 23.97 kB / 1.194 GB, free: 1.113 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.2591, allocations: 11.98 kB / 1.194 GB, free: 1.102 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.919e-05/0.2591, allocations: 27.92 kB / 1.194 GB, free: 1.074 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.2591, allocations: 0 / 1.194 GB, free: 1.074 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.2592, allocations: 39.84 kB / 1.194 GB, free: 1.035 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.2593, allocations: 80.08 kB / 1.194 GB, free: 0.957 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2593, allocations: 0 / 1.194 GB, free: 0.957 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.916e-06/0.2593, allocations: 7.938 kB / 1.194 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.2593, allocations: 0 / 1.194 GB, free: 0.9492 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003577/0.2597, allocations: 296 kB / 1.194 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2597, allocations: 11.98 kB / 1.194 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.607e-05/0.2598, allocations: 38.69 kB / 1.194 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.2598, allocations: 8.922 kB / 1.194 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.577e-05/0.2599, allocations: 106.5 kB / 1.194 GB, free: 436 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.2599, allocations: 4.375 kB / 1.194 GB, free: 432 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.2599, allocations: 4.375 kB / 1.194 GB, free: 428 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.129e-05/0.26, allocations: 42.25 kB / 1.194 GB, free: 380 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.26, allocations: 3.938 kB / 1.194 GB, free: 376 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.26, allocations: 0 / 1.194 GB, free: 376 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.26, allocations: 0 / 1.194 GB, free: 376 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.26, allocations: 4 kB / 1.194 GB, free: 372 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.2604, allocations: 263.9 kB / 1.195 GB, free: 64 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.843e-05/0.2604, allocations: 18.52 kB / 1.195 GB, free: 36 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.2605, allocations: 20.91 kB / 1.195 GB, free: 12 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.2605, allocations: 0 / 1.195 GB, free: 12 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.2606, allocations: 55.41 kB / 1.195 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2606, allocations: 0 / 1.195 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of matching and sorting (n=3): time 0.0001621/0.2608, allocations: 65.61 kB / 1.195 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.2608, allocations: 55.41 kB / 1.195 GB, free: 15.81 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.619e-05/0.2609, allocations: 101.8 kB / 1.195 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.2609, allocations: 33.7 kB / 1.195 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.261, allocations: 96.08 kB / 1.195 GB, free: 15.56 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 7.394e-06/0.261, allocations: 0 / 1.195 GB, free: 15.56 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.261, allocations: 29.7 kB / 1.195 GB, free: 15.53 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.2611, allocations: 310.8 kB / 1.195 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/0.2612, allocations: 35.97 kB / 1.195 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.747e-05/0.2612, allocations: 43 kB / 1.195 GB, free: 15.13 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/0.2613, allocations: 100.2 kB / 1.196 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2613, allocations: 0 / 1.196 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001616/0.2615, allocations: 143.2 kB / 1.196 GB, free: 14.86 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.2615, allocations: 37.7 kB / 1.196 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2615, allocations: 3.984 kB / 1.196 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2615, allocations: 7.938 kB / 1.196 GB, free: 14.81 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.766e-05/0.2615, allocations: 0 / 1.196 GB, free: 14.81 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2615, allocations: 4.094 kB / 1.196 GB, free: 14.8 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.2617, allocations: 27.91 kB / 1.196 GB, free: 14.78 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.2617, allocations: 11.94 kB / 1.196 GB, free: 14.77 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 7.696e-05/0.2618, allocations: 125.7 kB / 1.196 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.2618, allocations: 3.984 kB / 1.196 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.2618, allocations: 4 kB / 1.196 GB, free: 14.62 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2618, allocations: 4 kB / 1.196 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2618, allocations: 4 kB / 1.196 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2618, allocations: 0 / 1.196 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.86e-05/0.2619, allocations: 136.6 kB / 1.196 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2619, allocations: 0 / 1.196 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-06/0.2619, allocations: 4 kB / 1.196 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2619, allocations: 3.984 kB / 1.196 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.2619, allocations: 0 / 1.196 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2619, allocations: 0 / 1.196 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2619, allocations: 0 / 1.196 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.69e-05/0.262, allocations: 89 kB / 1.196 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-06/0.262, allocations: 0 / 1.196 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.2621, allocations: 0 / 1.196 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.422e-05/0.2621, allocations: 4 kB / 1.196 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.2621, allocations: 3.984 kB / 1.196 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.2621, allocations: 0 / 1.196 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 2.887e-05/0.2621, allocations: 83.28 kB / 1.196 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2621, allocations: 4 kB / 1.196 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001409/0.2623, allocations: 15.98 kB / 1.196 GB, free: 14.21 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002837/0.2626, allocations: 0.6204 MB / 1.197 GB, free: 13.56 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.2627, allocations: 107.3 kB / 1.197 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2627, allocations: 0 / 1.197 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 1.905e-05/0.2627, allocations: 12 kB / 1.197 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.2629, allocations: 14.48 kB / 1.197 GB, free: 13.42 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009814/0.2639, allocations: 1.373 MB / 1.198 GB, free: 11.95 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.2641, allocations: 0.6807 MB / 1.199 GB, free: 11.24 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 1.743e-05/0.2641, allocations: 4.172 kB / 1.199 GB, free: 11.24 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.2642, allocations: 19.42 kB / 1.199 GB, free: 11.22 MB / 0.8387 GB Notification: Performance of SimCode: time 5.71e-07/0.2642, allocations: 4 kB / 1.199 GB, free: 11.21 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.2808, allocations: 2.072 MB / 1.201 GB, free: 9.293 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.537/6.818, allocations: 7.031 kB / 1.201 GB, free: 9.293 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 AixLib_AixLib_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.44394938275218] Failed to read output from testmodel.py, exit status != 0: 6.901685279794037 6.914839263 6.653580363 Calling exit ...