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.000893/0.000893, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001011/0.001011, allocations: 213.9 kB / 22.25 MB, free: 3.578 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.9381/0.9381, allocations: 230.6 MB / 256 MB, free: 9.578 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.7749/0.7749, allocations: 203.5 MB / 0.5039 GB, free: 10.71 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.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.0008505/0.0008505, allocations: 62.12 kB / 0.7178 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4827, allocations: 102 MB / 0.8174 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001287/0.484, allocations: 0.57 MB / 0.818 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.863e-05/0.484, allocations: 0 / 0.818 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.601e-05/0.484, allocations: 0 / 0.818 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.032e-05/0.4841, allocations: 5.375 kB / 0.818 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.604e-05/0.4841, allocations: 0 / 0.818 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.596e-05/0.4841, allocations: 2.156 kB / 0.818 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.403e-05/0.4842, allocations: 7.938 kB / 0.818 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.557e-05/0.4842, allocations: 4.781 kB / 0.818 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.4843, allocations: 0.75 kB / 0.818 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.136e-05/0.4843, allocations: 3.938 kB / 0.818 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.4843, allocations: 2.219 kB / 0.818 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.759e-06/0.4843, allocations: 0 / 0.818 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.4843, allocations: 0 / 0.818 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.4843, allocations: 3.984 kB / 0.818 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.203e-05/0.4844, allocations: 6.969 kB / 0.818 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.4844, allocations: 0 / 0.818 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.886e-06/0.4844, allocations: 0.7969 kB / 0.818 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4844, allocations: 4 kB / 0.818 GB, free: 0.8438 MB / 0.6042 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.0001776/0.4846, allocations: 235.7 kB / 0.8182 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.4846, allocations: 9.5 kB / 0.8182 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.492e-05/0.4847, allocations: 30.75 kB / 0.8183 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.071e-05/0.4847, allocations: 3.156 kB / 0.8183 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.881e-05/0.4847, allocations: 103.9 kB / 0.8184 GB, free: 436 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.4847, allocations: 384 / 0.8184 GB, free: 436 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.4847, allocations: 2.719 kB / 0.8184 GB, free: 436 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.918e-05/0.4848, allocations: 31.72 kB / 0.8184 GB, free: 400 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.4848, allocations: 10.22 kB / 0.8184 GB, free: 392 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.4848, allocations: 4 kB / 0.8184 GB, free: 388 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.4848, allocations: 0 / 0.8184 GB, free: 388 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.464e-05/0.4849, allocations: 0 / 0.8184 GB, free: 388 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.904e-05/0.4849, allocations: 116.7 kB / 0.8185 GB, free: 232 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.402e-05/0.485, allocations: 15.77 kB / 0.8186 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.485, allocations: 15.33 kB / 0.8186 GB, free: 196 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.485, allocations: 0 / 0.8186 GB, free: 196 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.261e-05/0.485, allocations: 34.56 kB / 0.8186 GB, free: 152 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.485, allocations: 0 / 0.8186 GB, free: 152 kB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001065/0.4851, allocations: 51.25 kB / 0.8186 GB, free: 100 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.4851, allocations: 53.91 kB / 0.8187 GB, free: 36 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.777e-05/0.4852, allocations: 90.52 kB / 0.8188 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.4852, allocations: 25.7 kB / 0.8188 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.965e-05/0.4852, allocations: 84.14 kB / 0.8189 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.4852, allocations: 0.8438 kB / 0.8189 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.4853, allocations: 12.91 kB / 0.8189 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.941e-05/0.4853, allocations: 311.5 kB / 0.8192 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.4853, allocations: 2.75 kB / 0.8192 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.4854, allocations: 4.547 kB / 0.8192 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.287e-05/0.4854, allocations: 15.27 kB / 0.8192 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4854, allocations: 0 / 0.8192 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.15e-05/0.4854, allocations: 35.75 kB / 0.8193 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.4854, allocations: 7.781 kB / 0.8193 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4854, allocations: 3.938 kB / 0.8193 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.4854, allocations: 0 / 0.8193 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.995e-05/0.4855, allocations: 4.484 kB / 0.8193 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4855, allocations: 0 / 0.8193 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-06/0.4855, allocations: 0 / 0.8193 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.4855, allocations: 0.6562 kB / 0.8193 GB, free: 15.43 MB / 0.6198 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.827e-05/0.4856, allocations: 111.4 kB / 0.8194 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-06/0.4856, allocations: 3.906 kB / 0.8194 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.845e-05/0.4856, allocations: 10.89 kB / 0.8194 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.4856, allocations: 0 / 0.8194 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4856, allocations: 0 / 0.8194 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4856, allocations: 0 / 0.8194 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.316e-05/0.4856, allocations: 118.7 kB / 0.8195 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.4856, allocations: 2.5 kB / 0.8195 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-06/0.4856, allocations: 3.938 kB / 0.8195 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.4856, allocations: 0.5625 kB / 0.8195 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.4857, allocations: 9.75 kB / 0.8195 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4857, allocations: 0.6562 kB / 0.8195 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4857, allocations: 0 / 0.8195 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.846e-05/0.4857, allocations: 59.2 kB / 0.8196 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-06/0.4857, allocations: 4 kB / 0.8196 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.4857, allocations: 4.688 kB / 0.8196 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.397e-06/0.4857, allocations: 4.844 kB / 0.8196 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.4857, allocations: 2.234 kB / 0.8196 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-07/0.4857, allocations: 0 / 0.8196 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.879e-05/0.4858, allocations: 75.28 kB / 0.8197 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.4858, allocations: 3.344 kB / 0.8197 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001086/0.4859, allocations: 4.031 kB / 0.8197 GB, free: 14.98 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: 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.0002249/0.4861, allocations: 0.5933 MB / 0.8203 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.836e-05/0.4861, allocations: 4.516 kB / 0.8203 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4861, allocations: 0 / 0.8203 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.086e-06/0.4861, allocations: 1.938 kB / 0.8203 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.429e-05/0.4862, allocations: 3.562 kB / 0.8203 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.4865, allocations: 115.6 kB / 0.8204 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.007e-05/0.4865, allocations: 62.19 kB / 0.8204 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.999e-06/0.4866, allocations: 2.281 kB / 0.8204 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.4866, allocations: 7.438 kB / 0.8204 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.4866, allocations: 0 / 0.8204 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.5006, allocations: 1.4 MB / 0.8218 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/7.291, allocations: 9.438 kB / 0.8218 GB, free: 13.34 MB / 0.6198 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: 10.24336618417874] Failed to read output from testmodel.py, exit status != 0: 7.368219568859786 7.380981356 6.893766196 Calling exit ...