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.0009458/0.0009458, 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.001133/0.001133, allocations: 170.3 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.9032/0.9032, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7338/0.7338, allocations: 154.6 MB / 413.8 MB, free: 0.793 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: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.962e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001159/0.001179, allocations: 0.5644 MB / 0.6187 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 4.406e-05/0.001223, allocations: 11.88 kB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.706e-05/0.00124, allocations: 0 / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.001266, allocations: 0 / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.549e-05/0.001292, allocations: 4 kB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.958e-05/0.001322, allocations: 0 / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.7e-05/0.001379, allocations: 4 kB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.001425, allocations: 3.984 kB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.257e-05/0.001458, allocations: 0 / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.434e-05/0.001482, allocations: 0 / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.001505, allocations: 0 / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.869e-06/0.001509, allocations: 0 / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.001525, allocations: 0 / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.001547, allocations: 4 kB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.503e-05/0.001612, allocations: 0 / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.001614, allocations: 7.938 kB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.001615, allocations: 0 / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.001619, allocations: 0 / 0.6187 GB, free: 13.03 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002578/0.001877, allocations: 238.5 kB / 0.619 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.001924, allocations: 8.031 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.001959, allocations: 30.75 kB / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.172e-05/0.00198, allocations: 4.938 kB / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.999e-05/0.00205, allocations: 101.8 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.002062, allocations: 4.312 kB / 0.6191 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.00207, allocations: 384 / 0.6191 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.002174, allocations: 38.25 kB / 0.6191 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.002183, allocations: 192 / 0.6191 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.002193, allocations: 384 / 0.6191 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.002199, allocations: 4.125 kB / 0.6191 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.002217, allocations: 0 / 0.6191 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.002334, allocations: 124.8 kB / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.756e-05/0.002381, allocations: 18.52 kB / 0.6193 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.002406, allocations: 8.953 kB / 0.6193 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.372e-05/0.002489, allocations: 0 / 0.6193 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.002513, allocations: 30.56 kB / 0.6193 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.002514, allocations: 4 kB / 0.6193 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001372/0.002651, allocations: 37.7 kB / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.002688, allocations: 55.34 kB / 0.6194 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.239e-05/0.002721, allocations: 89.86 kB / 0.6195 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.002731, allocations: 25.7 kB / 0.6195 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.002757, allocations: 80.14 kB / 0.6196 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.002791, allocations: 11.91 kB / 0.6196 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.002815, allocations: 13.72 kB / 0.6196 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.002906, allocations: 318.8 kB / 0.6199 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.002917, allocations: 3.938 kB / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-06/0.002926, allocations: 8.125 kB / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.471e-05/0.002951, allocations: 4.859 kB / 0.6199 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.002953, allocations: 0 / 0.6199 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.469e-05/0.002987, allocations: 33.7 kB / 0.62 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.003, allocations: 4 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.003006, allocations: 0 / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.003019, allocations: 3.938 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.976e-05/0.003078, allocations: 3.984 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.003086, allocations: 7.938 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.248e-06/0.003096, allocations: 4.094 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.003101, allocations: 7.938 kB / 0.62 GB, free: 11.53 MB / 0.5886 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 5.669e-05/0.003157, allocations: 110.8 kB / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-06/0.00316, allocations: 0 / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.576e-05/0.003176, allocations: 10.95 kB / 0.6201 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.003177, allocations: 0 / 0.6201 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.003183, allocations: 3.938 kB / 0.6201 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.003185, allocations: 0 / 0.6201 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.712e-05/0.003242, allocations: 116.8 kB / 0.6202 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.003243, allocations: 0 / 0.6202 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-06/0.003247, allocations: 4 kB / 0.6202 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.003248, allocations: 4 kB / 0.6202 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-06/0.003253, allocations: 0 / 0.6202 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.003254, allocations: 0 / 0.6202 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.003255, allocations: 3.938 kB / 0.6202 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.594e-05/0.003301, allocations: 61.09 kB / 0.6203 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-06/0.003306, allocations: 3.984 kB / 0.6203 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.003317, allocations: 0 / 0.6203 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.246e-06/0.00332, allocations: 0 / 0.6203 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.003334, allocations: 11.88 kB / 0.6203 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-06/0.003335, allocations: 0 / 0.6203 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.158e-05/0.003357, allocations: 79.31 kB / 0.6204 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.003357, allocations: 0 / 0.6204 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001128/0.00347, allocations: 0 / 0.6204 GB, free: 11.06 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: 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.0002301/0.0037, allocations: 0.5852 MB / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.389e-05/0.003764, allocations: 4 kB / 0.621 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.003765, allocations: 0 / 0.621 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.003768, allocations: 7.938 kB / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.003873, allocations: 3.938 kB / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.004164, allocations: 114.8 kB / 0.6211 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.342e-05/0.004197, allocations: 59.3 kB / 0.6211 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.919e-06/0.004207, allocations: 0 / 0.6211 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.004226, allocations: 8.5 kB / 0.6212 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.004227, allocations: 3.938 kB / 0.6212 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.01847, allocations: 1.541 MB / 0.6227 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.835/6.854, allocations: 13.78 kB / 0.6227 GB, free: 8.77 MB / 0.5886 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.669149531051517] Failed to read output from testmodel.py, exit status != 0: 6.938440223224461 6.947597487 6.944188439 Calling exit ...