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.0008041/0.0008041, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000889/0.000889, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8978/0.8978, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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.715/0.715, allocations: 154.6 MB / 413.8 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.705e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001077/0.001094, allocations: 0.5866 MB / 0.6186 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.002141, allocations: 1.127 MB / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.89e-05/0.00218, allocations: 7.938 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.002206, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.58e-05/0.002272, allocations: 3.984 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.002651, allocations: 126.5 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.00278, allocations: 91.83 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.002872, allocations: 0 / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.485e-05/0.002947, allocations: 55.89 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.003026, allocations: 23.95 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.003045, allocations: 8 kB / 0.62 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.264e-05/0.003097, allocations: 15.98 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.003117, allocations: 15.92 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.003156, allocations: 19.98 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.003302, allocations: 107.7 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.093e-06/0.003304, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003305, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.003309, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 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.0003375/0.003646, allocations: 300 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.003683, allocations: 8.031 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.214e-05/0.003705, allocations: 30.75 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.003734, allocations: 4.938 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.614e-05/0.0038, allocations: 105.8 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.003812, allocations: 4.375 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.003828, allocations: 4.375 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.227e-05/0.00391, allocations: 67.95 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.003916, allocations: 192 / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.003924, allocations: 384 / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.003932, allocations: 8.125 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.921e-05/0.003951, allocations: 7.922 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.00423, allocations: 244 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.614e-05/0.004267, allocations: 22.58 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.284e-05/0.004279, allocations: 8.844 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.004285, allocations: 0 / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.004396, allocations: 101 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.004396, allocations: 0 / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001419/0.004538, allocations: 61.69 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.004568, allocations: 55.39 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.452e-05/0.004622, allocations: 105.8 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.004639, allocations: 29.7 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.004674, allocations: 92.08 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/0.00468, allocations: 7.938 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.004721, allocations: 29.7 kB / 0.6214 GB, free: 10 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.493e-05/0.004806, allocations: 314.8 kB / 0.6217 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.004867, allocations: 61.67 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-05/0.004932, allocations: 84.2 kB / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.989e-05/0.005002, allocations: 80.27 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005004, allocations: 0 / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001755/0.005179, allocations: 184.9 kB / 0.6221 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.005206, allocations: 33.7 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.005213, allocations: 4 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.005225, allocations: 0 / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.668e-05/0.005242, allocations: 3.938 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.005247, allocations: 4.094 kB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.005373, allocations: 28.22 kB / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.005388, allocations: 11.98 kB / 0.6222 GB, free: 9.141 MB / 0.5886 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.9e-05/0.005457, allocations: 114.8 kB / 0.6223 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.005464, allocations: 7.938 kB / 0.6223 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.005487, allocations: 8 kB / 0.6223 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005488, allocations: 0 / 0.6223 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.005493, allocations: 0 / 0.6223 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.005496, allocations: 4 kB / 0.6223 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.826e-05/0.005575, allocations: 128.8 kB / 0.6225 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.005576, allocations: 3.984 kB / 0.6225 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.00558, allocations: 3.938 kB / 0.6225 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.005581, allocations: 0 / 0.6225 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.005588, allocations: 4 kB / 0.6225 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.005588, allocations: 0 / 0.6225 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005589, allocations: 0 / 0.6225 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.189e-05/0.005661, allocations: 81.02 kB / 0.6226 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-06/0.005668, allocations: 7.938 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.005679, allocations: 3.984 kB / 0.6226 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.007e-05/0.005689, allocations: 8 kB / 0.6226 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.005713, allocations: 4.281 kB / 0.6226 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.005716, allocations: 0 / 0.6226 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.827e-05/0.005745, allocations: 83.27 kB / 0.6227 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005745, allocations: 3.938 kB / 0.6227 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001465/0.005891, allocations: 23.94 kB / 0.6227 GB, free: 8.586 MB / 0.5886 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.000264/0.006155, allocations: 0.624 MB / 0.6233 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.006303, allocations: 133.1 kB / 0.6234 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006305, allocations: 192 / 0.6234 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.698e-05/0.006322, allocations: 15.94 kB / 0.6234 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.006464, allocations: 7.984 kB / 0.6234 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.007636, allocations: 1.481 MB / 0.6249 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.109e-05/0.007677, allocations: 67.34 kB / 0.625 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.67e-05/0.007694, allocations: 4 kB / 0.625 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.00772, allocations: 8.5 kB / 0.625 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/0.00772, allocations: 0 / 0.625 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.02786, allocations: 2.723 MB / 0.6276 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.076/7.104, allocations: 8.062 kB / 0.6276 GB, free: 3.5 MB / 0.5886 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: 9.803726030513644] Failed to read output from testmodel.py, exit status != 0: 7.18267160654068 7.192621366 7.186875393 Calling exit ...