Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.0008008/0.0008008, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008226/0.0008226, allocations: 162 kB / 22.43 MB, free: 2.145 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.871/0.871, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.6966/0.6966, allocations: 154.7 MB / 413.9 MB, free: 0.7383 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.Reals.Sources.Validation.CivilTime,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",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.0009166/0.0009166, allocations: 63.91 kB / 0.6184 GB, free: 13.59 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4557, allocations: 102 MB / 0.7179 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.00135/0.4571, allocations: 0.5744 MB / 0.7185 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 4.815e-05/0.4571, allocations: 0 / 0.7185 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.69e-05/0.4572, allocations: 1.469 kB / 0.7185 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.566e-05/0.4572, allocations: 0 / 0.7185 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.763e-05/0.4572, allocations: 0 / 0.7185 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.562e-05/0.4573, allocations: 4.656 kB / 0.7185 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.785e-05/0.4573, allocations: 1.375 kB / 0.7185 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.536e-05/0.4574, allocations: 5.906 kB / 0.7185 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.474e-05/0.4574, allocations: 1.984 kB / 0.7185 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.902e-05/0.4574, allocations: 7.938 kB / 0.7185 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.4575, allocations: 1.125 kB / 0.7185 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-06/0.4575, allocations: 0 / 0.7185 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.4575, allocations: 0 / 0.7185 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.4575, allocations: 4.984 kB / 0.7185 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 6.138e-05/0.4575, allocations: 2.453 kB / 0.7185 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4576, allocations: 0 / 0.7185 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4576, allocations: 3.938 kB / 0.7185 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.4576, allocations: 1.125 kB / 0.7185 GB, free: 22.95 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001826/0.4577, allocations: 236.1 kB / 0.7187 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.4578, allocations: 9 kB / 0.7188 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.134e-05/0.4578, allocations: 40.08 kB / 0.7188 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.779e-05/0.4578, allocations: 4.891 kB / 0.7188 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.759e-05/0.4579, allocations: 104.5 kB / 0.7189 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.4579, allocations: 1.25 kB / 0.7189 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.4579, allocations: 2.219 kB / 0.7189 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.403e-05/0.458, allocations: 27.95 kB / 0.7189 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.458, allocations: 4.688 kB / 0.7189 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.458, allocations: 0.75 kB / 0.7189 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.458, allocations: 0 / 0.7189 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.517e-05/0.458, allocations: 1.781 kB / 0.7189 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.143e-05/0.4581, allocations: 124 kB / 0.719 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.741e-05/0.4581, allocations: 21.34 kB / 0.7191 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.4581, allocations: 6.672 kB / 0.7191 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.4581, allocations: 1.562 kB / 0.7191 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.4581, allocations: 31.5 kB / 0.7191 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.4581, allocations: 3.938 kB / 0.7191 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001075/0.4582, allocations: 44.31 kB / 0.7192 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.4583, allocations: 52.38 kB / 0.7192 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.174e-05/0.4583, allocations: 90.7 kB / 0.7193 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.641e-06/0.4583, allocations: 29.83 kB / 0.7193 GB, free: 22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.191e-06/0.4583, allocations: 80.95 kB / 0.7194 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.4583, allocations: 1.25 kB / 0.7194 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.4583, allocations: 11.8 kB / 0.7194 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.99e-05/0.4584, allocations: 316.7 kB / 0.7197 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.4584, allocations: 1.156 kB / 0.7197 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-06/0.4584, allocations: 1.906 kB / 0.7197 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.131e-05/0.4584, allocations: 7.516 kB / 0.7197 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4584, allocations: 0 / 0.7197 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.062e-05/0.4584, allocations: 43.67 kB / 0.7198 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.4584, allocations: 6.312 kB / 0.7198 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4585, allocations: 4.594 kB / 0.7198 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.4585, allocations: 0 / 0.7198 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.241e-05/0.4585, allocations: 3.047 kB / 0.7198 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.4585, allocations: 0 / 0.7198 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.254e-06/0.4585, allocations: 0 / 0.7198 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.4585, allocations: 1.188 kB / 0.7198 GB, free: 21.54 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 3.549e-05/0.4586, allocations: 113.4 kB / 0.7199 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-06/0.4586, allocations: 1.531 kB / 0.7199 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.355e-05/0.4586, allocations: 19.52 kB / 0.7199 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.4586, allocations: 0 / 0.7199 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4586, allocations: 5.281 kB / 0.7199 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4586, allocations: 0.75 kB / 0.7199 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.463e-05/0.4586, allocations: 115.3 kB / 0.72 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-07/0.4586, allocations: 0 / 0.72 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-06/0.4586, allocations: 3.578 kB / 0.72 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.4586, allocations: 0 / 0.72 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.4586, allocations: 3.938 kB / 0.72 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3e-07/0.4586, allocations: 1.094 kB / 0.72 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.4586, allocations: 0 / 0.72 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.259e-05/0.4587, allocations: 66.3 kB / 0.7201 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-06/0.4587, allocations: 1.922 kB / 0.7201 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-06/0.4587, allocations: 8.484 kB / 0.7201 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-06/0.4587, allocations: 1.188 kB / 0.7201 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.4587, allocations: 0.75 kB / 0.7201 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.72e-07/0.4587, allocations: 1.344 kB / 0.7201 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.296e-06/0.4587, allocations: 75.28 kB / 0.7202 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4587, allocations: 0 / 0.7202 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001074/0.4588, allocations: 1.312 kB / 0.7202 GB, free: 21.09 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000152/0.459, allocations: 0.6008 MB / 0.7208 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.489e-05/0.459, allocations: 11.8 kB / 0.7208 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.459, allocations: 0 / 0.7208 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/0.459, allocations: 3.156 kB / 0.7208 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.934e-05/0.4591, allocations: 1.5 kB / 0.7208 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.4594, allocations: 112.2 kB / 0.7209 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.538e-05/0.4594, allocations: 55.3 kB / 0.7209 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.124e-05/0.4594, allocations: 1.125 kB / 0.7209 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.4595, allocations: 12.66 kB / 0.721 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of SimCode: time 6.01e-07/0.4595, allocations: 0 / 0.721 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.4742, allocations: 1.515 MB / 0.7224 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.532/7.006, allocations: 9.594 kB / 0.7224 GB, free: 19.4 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.732820698991418] Failed to read output from testmodel.py, exit status != 0: 7.081725043011829 7.090747425 6.631379596 Calling exit ...