Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008841/0.0008841, 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.001567/0.001567, 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.9496/0.9496, allocations: 177.2 MB / 202.8 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7022/0.7022, allocations: 154.9 MB / 414.2 MB, free: 492 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_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.001311/0.001311, allocations: 72.27 kB / 0.6187 GB, free: 13.23 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4808/0.4821, allocations: 102 MB / 0.7182 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001423/0.4835, allocations: 0.5721 MB / 0.7188 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 3.2e-05/0.4836, allocations: 6.375 kB / 0.7188 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.427e-05/0.4836, allocations: 0 / 0.7188 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.4836, allocations: 0 / 0.7188 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 1.771e-05/0.4836, allocations: 0 / 0.7188 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 1.882e-05/0.4836, allocations: 1.469 kB / 0.7188 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 2.642e-05/0.4837, allocations: 1.312 kB / 0.7188 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 2.856e-05/0.4837, allocations: 6.359 kB / 0.7188 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 1.602e-05/0.4837, allocations: 0 / 0.7188 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.571e-05/0.4837, allocations: 0.9688 kB / 0.7188 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.4837, allocations: 4 kB / 0.7188 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.859e-06/0.4837, allocations: 1.125 kB / 0.7188 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.4837, allocations: 1.266 kB / 0.7188 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.834e-05/0.4838, allocations: 7.922 kB / 0.7188 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 5.382e-05/0.4838, allocations: 8.969 kB / 0.7188 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4838, allocations: 1.125 kB / 0.7188 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.505e-06/0.4838, allocations: 0.6562 kB / 0.7188 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.4838, allocations: 0 / 0.7188 GB, free: 22.82 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.0001786/0.484, allocations: 232.5 kB / 0.7191 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.484, allocations: 10.12 kB / 0.7191 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.256e-05/0.4841, allocations: 36.81 kB / 0.7191 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.816e-05/0.4841, allocations: 4.891 kB / 0.7191 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.747e-05/0.4841, allocations: 104.2 kB / 0.7192 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.4841, allocations: 1.375 kB / 0.7192 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.4841, allocations: 1.625 kB / 0.7192 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.796e-05/0.4842, allocations: 31.8 kB / 0.7192 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.4842, allocations: 4.938 kB / 0.7193 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.4842, allocations: 0.7031 kB / 0.7193 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4842, allocations: 0 / 0.7193 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.609e-05/0.4843, allocations: 6.25 kB / 0.7193 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.739e-05/0.4843, allocations: 115.3 kB / 0.7194 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.508e-05/0.4844, allocations: 20.77 kB / 0.7194 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.4844, allocations: 15.34 kB / 0.7194 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.4844, allocations: 2.125 kB / 0.7194 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.4844, allocations: 31.59 kB / 0.7194 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.4844, allocations: 0 / 0.7194 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.4846, allocations: 40.09 kB / 0.7195 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.4846, allocations: 51.41 kB / 0.7195 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.153e-05/0.4846, allocations: 91.41 kB / 0.7196 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.48e-06/0.4846, allocations: 25.7 kB / 0.7196 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.784e-06/0.4846, allocations: 85.67 kB / 0.7197 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.4846, allocations: 4.516 kB / 0.7197 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.4846, allocations: 12.94 kB / 0.7197 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.915e-05/0.4847, allocations: 310.8 kB / 0.72 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/0.4847, allocations: 5.672 kB / 0.72 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-06/0.4847, allocations: 5.281 kB / 0.72 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/0.4847, allocations: 9.484 kB / 0.72 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4847, allocations: 0 / 0.72 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.089e-05/0.4847, allocations: 39.34 kB / 0.7201 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.4848, allocations: 12.39 kB / 0.7201 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4848, allocations: 7.922 kB / 0.7201 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4848, allocations: 0.75 kB / 0.7201 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.333e-05/0.4848, allocations: 1.656 kB / 0.7201 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.4848, allocations: 0 / 0.7201 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.517e-06/0.4848, allocations: 2.312 kB / 0.7201 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.4849, allocations: 0 / 0.7201 GB, free: 21.41 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 4.151e-05/0.4849, allocations: 110.7 kB / 0.7202 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-06/0.4849, allocations: 0 / 0.7202 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.783e-05/0.4849, allocations: 12.77 kB / 0.7202 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.4849, allocations: 4 kB / 0.7202 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4849, allocations: 0.7031 kB / 0.7202 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.4849, allocations: 1.625 kB / 0.7202 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.707e-05/0.485, allocations: 119.8 kB / 0.7203 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.485, allocations: 0 / 0.7203 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-06/0.485, allocations: 1.828 kB / 0.7203 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.485, allocations: 0 / 0.7203 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.485, allocations: 5.25 kB / 0.7204 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.485, allocations: 0.6562 kB / 0.7204 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.485, allocations: 3.984 kB / 0.7204 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.359e-05/0.485, allocations: 62.25 kB / 0.7204 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-06/0.485, allocations: 2.344 kB / 0.7204 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.485, allocations: 7.938 kB / 0.7204 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.529e-06/0.485, allocations: 2.281 kB / 0.7204 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/0.485, allocations: 0 / 0.7204 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-06/0.4851, allocations: 4.688 kB / 0.7204 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.867e-06/0.4851, allocations: 76.81 kB / 0.7205 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4851, allocations: 0 / 0.7205 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001076/0.4852, allocations: 1.25 kB / 0.7205 GB, free: 20.96 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.0001534/0.4853, allocations: 0.6032 MB / 0.7211 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.198e-05/0.4854, allocations: 3.969 kB / 0.7211 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4854, allocations: 1.312 kB / 0.7211 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.566e-06/0.4854, allocations: 5.766 kB / 0.7211 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001006/0.4855, allocations: 1.406 kB / 0.7211 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.4857, allocations: 112.3 kB / 0.7212 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.631e-05/0.4858, allocations: 55.19 kB / 0.7213 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.596e-06/0.4858, allocations: 1.281 kB / 0.7213 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.4858, allocations: 8.5 kB / 0.7213 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.4858, allocations: 4.125 kB / 0.7213 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.5026, allocations: 1.518 MB / 0.7228 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.724/7.226, allocations: 15.72 kB / 0.7228 GB, free: 19.27 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.103507626918145] Failed to read output from testmodel.py, exit status != 0: 7.305717254988849 7.314667308 6.828987134 Calling exit ...