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.000852/0.000852, allocations: 109.9 kB / 18.93 MB, free: 1.277 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.001631/0.001631, allocations: 217.7 kB / 22.26 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.982/0.982, allocations: 230.6 MB / 256 MB, free: 9.828 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.03976/0.03976, allocations: 12.19 MB / 324.6 MB, free: 6.297 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.0004561/0.0004561, allocations: 19.97 kB / 384.1 MB, free: 10.72 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.72/1.72, allocations: 353.8 MB / 0.7787 GB, free: 3.113 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.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.001551/0.001551, allocations: 123.4 kB / 1.06 GB, free: 25.08 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2338, allocations: 134.9 MB / 1.192 GB, free: 7.934 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001448/0.2352, allocations: 0.5806 MB / 1.192 GB, free: 7.355 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.2364, allocations: 1.168 MB / 1.193 GB, free: 6.176 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.2364, allocations: 0 / 1.193 GB, free: 6.176 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.2365, allocations: 7.938 kB / 1.193 GB, free: 6.168 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.964e-05/0.2365, allocations: 7.922 kB / 1.193 GB, free: 6.16 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.2369, allocations: 120.6 kB / 1.194 GB, free: 6.047 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.2371, allocations: 91.83 kB / 1.194 GB, free: 5.957 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.2372, allocations: 3.984 kB / 1.194 GB, free: 5.953 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.004e-05/0.2373, allocations: 43.91 kB / 1.194 GB, free: 5.91 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.145e-05/0.2373, allocations: 23.97 kB / 1.194 GB, free: 5.887 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.2374, allocations: 11.94 kB / 1.194 GB, free: 5.875 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.721e-05/0.2374, allocations: 19.98 kB / 1.194 GB, free: 5.855 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.2374, allocations: 11.98 kB / 1.194 GB, free: 5.844 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.2375, allocations: 31.91 kB / 1.194 GB, free: 5.812 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.2376, allocations: 80.08 kB / 1.194 GB, free: 5.734 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2376, allocations: 3.938 kB / 1.194 GB, free: 5.73 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2376, allocations: 0 / 1.194 GB, free: 5.73 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.2376, allocations: 0 / 1.194 GB, free: 5.73 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.000431/0.238, allocations: 296 kB / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2381, allocations: 8.031 kB / 1.194 GB, free: 5.395 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.927e-05/0.2381, allocations: 46.67 kB / 1.194 GB, free: 5.34 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.2381, allocations: 8.938 kB / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.434e-05/0.2382, allocations: 102.5 kB / 1.194 GB, free: 5.207 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.2382, allocations: 4.375 kB / 1.194 GB, free: 5.203 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.2382, allocations: 4.375 kB / 1.194 GB, free: 5.199 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.1e-05/0.2383, allocations: 38.25 kB / 1.194 GB, free: 5.156 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2383, allocations: 3.938 kB / 1.194 GB, free: 5.152 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.2383, allocations: 4 kB / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2383, allocations: 0 / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.657e-05/0.2384, allocations: 0 / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.2387, allocations: 267.9 kB / 1.195 GB, free: 4.844 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.697e-05/0.2387, allocations: 18.58 kB / 1.195 GB, free: 4.816 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.2387, allocations: 16.84 kB / 1.195 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.272e-06/0.2387, allocations: 0 / 1.195 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.2389, allocations: 63.38 kB / 1.195 GB, free: 4.723 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.2389, allocations: 4 kB / 1.195 GB, free: 4.719 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001436/0.2391, allocations: 57.62 kB / 1.195 GB, free: 4.656 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.2391, allocations: 59.41 kB / 1.195 GB, free: 4.586 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.2392, allocations: 109.8 kB / 1.195 GB, free: 4.469 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.2392, allocations: 25.7 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.2392, allocations: 88.09 kB / 1.195 GB, free: 4.348 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.767e-06/0.2392, allocations: 4 kB / 1.195 GB, free: 4.344 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.2393, allocations: 29.7 kB / 1.195 GB, free: 4.309 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2394, allocations: 318.8 kB / 1.195 GB, free: 3.988 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.2395, allocations: 27.98 kB / 1.195 GB, free: 3.961 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.334e-05/0.2395, allocations: 46.56 kB / 1.195 GB, free: 3.906 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.906e-05/0.2396, allocations: 88.14 kB / 1.196 GB, free: 3.805 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2396, allocations: 4 kB / 1.196 GB, free: 3.801 MB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001592/0.2398, allocations: 147.3 kB / 1.196 GB, free: 3.645 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.2398, allocations: 37.69 kB / 1.196 GB, free: 3.602 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2398, allocations: 7.938 kB / 1.196 GB, free: 3.594 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.2398, allocations: 0 / 1.196 GB, free: 3.594 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.52e-05/0.2398, allocations: 0 / 1.196 GB, free: 3.594 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2398, allocations: 4 kB / 1.196 GB, free: 3.59 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.24, allocations: 28.22 kB / 1.196 GB, free: 3.562 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.24, allocations: 4 kB / 1.196 GB, free: 3.559 MB / 0.823 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 6.795e-05/0.24, allocations: 129.8 kB / 1.196 GB, free: 3.422 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-06/0.24, allocations: 0 / 1.196 GB, free: 3.422 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.2401, allocations: 12 kB / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2401, allocations: 0 / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2401, allocations: 0 / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2401, allocations: 0 / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.967e-05/0.2402, allocations: 140.6 kB / 1.196 GB, free: 3.223 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2402, allocations: 3.984 kB / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-06/0.2402, allocations: 0 / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2402, allocations: 0 / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.2402, allocations: 4 kB / 1.196 GB, free: 3.215 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2402, allocations: 0 / 1.196 GB, free: 3.215 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.2402, allocations: 0 / 1.196 GB, free: 3.215 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.2403, allocations: 85 kB / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-06/0.2403, allocations: 0 / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.2403, allocations: 7.984 kB / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.136e-05/0.2403, allocations: 0 / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.2404, allocations: 0 / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.2404, allocations: 4 kB / 1.196 GB, free: 3.102 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.884e-05/0.2404, allocations: 91.27 kB / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.2404, allocations: 0 / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001413/0.2405, allocations: 12 kB / 1.196 GB, free: 3 MB / 0.823 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.0002688/0.2408, allocations: 0.6243 MB / 1.197 GB, free: 2.348 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.241, allocations: 115.3 kB / 1.197 GB, free: 2.223 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.241, allocations: 0 / 1.197 GB, free: 2.223 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.857e-05/0.241, allocations: 12 kB / 1.197 GB, free: 2.211 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.2411, allocations: 7.984 kB / 1.197 GB, free: 2.203 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.2423, allocations: 1.369 MB / 1.198 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.2425, allocations: 0.6806 MB / 1.199 GB, free: 28 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.309e-05/0.2425, allocations: 4 kB / 1.199 GB, free: 24 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.2425, allocations: 7.438 kB / 1.199 GB, free: 16 kB / 0.823 GB Notification: Performance of SimCode: time 5.71e-07/0.2425, allocations: 0 / 1.199 GB, free: 16 kB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.2581, allocations: 2.094 MB / 1.201 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.388/6.646, allocations: 10.56 kB / 1.201 GB, free: 14.06 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.084971428848803] Failed to read output from testmodel.py, exit status != 0: 6.720094840973616 6.731534485 6.492026837 Calling exit ...