Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0007613/0.0007613, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.0008498/0.0008498, allocations: 209.2 kB / 22.24 MB, free: 3.715 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.9622/0.9622, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.7851/0.7851, allocations: 203.5 MB / 0.5039 GB, free: 10.67 MB / 410.7 MB " [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.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001105/0.001105, allocations: 66.39 kB / 0.7178 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5618/0.5629, allocations: 102 MB / 0.8174 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001606/0.5645, allocations: 0.5871 MB / 0.8179 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.5659, allocations: 1.137 MB / 0.819 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.5659, allocations: 3.969 kB / 0.819 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.566, allocations: 0 / 0.819 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.718e-05/0.5661, allocations: 5.391 kB / 0.819 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.5665, allocations: 122.9 kB / 0.8192 GB, free: 0 / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.5667, allocations: 79.62 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.5668, allocations: 9.188 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.929e-05/0.5669, allocations: 36 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.567, allocations: 31.8 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.567, allocations: 6.531 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.578e-05/0.5671, allocations: 22.61 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.5671, allocations: 0.75 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003483/0.5674, allocations: 34.08 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.5676, allocations: 84.11 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.5676, allocations: 2.578 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5676, allocations: 0 / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.5676, allocations: 0 / 0.8195 GB, free: 15.89 MB / 0.6198 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.0004283/0.568, allocations: 301.3 kB / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5681, allocations: 13.59 kB / 0.8198 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.5681, allocations: 32.52 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.5682, allocations: 13.61 kB / 0.8198 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.131e-05/0.5682, allocations: 113.3 kB / 0.8199 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.5682, allocations: 3.781 kB / 0.8199 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.5683, allocations: 6.031 kB / 0.8199 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.5684, allocations: 64.16 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.5684, allocations: 3.938 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.5684, allocations: 0.9375 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5684, allocations: 2.594 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.032e-05/0.5684, allocations: 9.797 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.5687, allocations: 238.6 kB / 0.8202 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.5688, allocations: 22.03 kB / 0.8202 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.5688, allocations: 16.69 kB / 0.8203 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.5688, allocations: 0 / 0.8203 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.569, allocations: 86.39 kB / 0.8203 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.569, allocations: 0 / 0.8203 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001815/0.5692, allocations: 68.97 kB / 0.8204 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.5692, allocations: 56.14 kB / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.355e-05/0.5693, allocations: 105.1 kB / 0.8206 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.5693, allocations: 31.84 kB / 0.8206 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.5694, allocations: 85.69 kB / 0.8207 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.5694, allocations: 8.516 kB / 0.8207 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.5694, allocations: 29.2 kB / 0.8207 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.5695, allocations: 314.7 kB / 0.821 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.039e-05/0.5696, allocations: 58.5 kB / 0.8211 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-05/0.5697, allocations: 80.61 kB / 0.8211 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.5698, allocations: 90.48 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5698, allocations: 0 / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002039/0.57, allocations: 179.3 kB / 0.8214 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.57, allocations: 40.98 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.57, allocations: 0 / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.57, allocations: 0 / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.886e-05/0.5701, allocations: 6.266 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.5701, allocations: 1.719 kB / 0.8214 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.5702, allocations: 28.02 kB / 0.8215 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.5702, allocations: 7.578 kB / 0.8215 GB, free: 13.92 MB / 0.6198 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.097e-05/0.5703, allocations: 124.1 kB / 0.8216 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-06/0.5703, allocations: 0.6094 kB / 0.8216 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.5703, allocations: 6.766 kB / 0.8216 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5703, allocations: 0 / 0.8216 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5704, allocations: 0.75 kB / 0.8216 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5704, allocations: 0 / 0.8216 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.487e-05/0.5704, allocations: 132.3 kB / 0.8217 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5704, allocations: 3.938 kB / 0.8217 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-06/0.5704, allocations: 0.6562 kB / 0.8217 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-06/0.5704, allocations: 3.938 kB / 0.8217 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.5705, allocations: 6.375 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5705, allocations: 0 / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5705, allocations: 1.5 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.5706, allocations: 85.45 kB / 0.8218 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.5706, allocations: 1.672 kB / 0.8218 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.5706, allocations: 5.734 kB / 0.8218 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.465e-05/0.5706, allocations: 5.844 kB / 0.8218 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.5706, allocations: 2.688 kB / 0.8218 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.5706, allocations: 2.203 kB / 0.8219 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.5707, allocations: 81.53 kB / 0.8219 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5707, allocations: 0 / 0.8219 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001473/0.5708, allocations: 27.39 kB / 0.822 GB, free: 13.45 MB / 0.6198 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.0003087/0.5711, allocations: 0.6196 MB / 0.8226 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001893/0.5713, allocations: 137 kB / 0.8227 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5713, allocations: 3.938 kB / 0.8227 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/0.5713, allocations: 8.625 kB / 0.8227 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.5715, allocations: 12.08 kB / 0.8227 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.5726, allocations: 1.484 MB / 0.8242 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.5727, allocations: 65.38 kB / 0.8242 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.25e-05/0.5727, allocations: 4.781 kB / 0.8242 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.5727, allocations: 11.84 kB / 0.8242 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of SimCode: time 8.02e-07/0.5727, allocations: 0 / 0.8242 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.5925, allocations: 2.59 MB / 0.8268 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.528/7.121, allocations: 5.734 kB / 0.8268 GB, free: 10.33 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.161541996058077] Failed to read output from testmodel.py, exit status != 0: 7.199556601699442 7.214021267 6.643891518 Calling exit ...