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.0009984/0.0009984, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009962/0.0009962, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9953/0.9953, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7767/0.7767, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [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.0009366/0.0009366, allocations: 63.22 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4762, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001237/0.4774, allocations: 0.5757 MB / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.673e-05/0.4775, allocations: 3.938 kB / 0.8184 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.4775, allocations: 0 / 0.8184 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.4775, allocations: 0.6562 kB / 0.8184 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.487e-05/0.4776, allocations: 0 / 0.8184 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.055e-05/0.4776, allocations: 0 / 0.8184 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.394e-05/0.4776, allocations: 4.703 kB / 0.8184 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.4777, allocations: 9.781 kB / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.623e-05/0.4777, allocations: 0 / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.935e-05/0.4777, allocations: 0 / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.4777, allocations: 0 / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.629e-06/0.4777, allocations: 3.938 kB / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.4778, allocations: 5.141 kB / 0.8184 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.4778, allocations: 3.938 kB / 0.8184 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.74e-05/0.4778, allocations: 2.562 kB / 0.8184 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4778, allocations: 0 / 0.8184 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4778, allocations: 0 / 0.8184 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.4778, allocations: 4 kB / 0.8184 GB, free: 0.6445 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.000176/0.478, allocations: 236.5 kB / 0.8187 GB, free: 400 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.4781, allocations: 10.38 kB / 0.8187 GB, free: 400 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.069e-05/0.4781, allocations: 34.69 kB / 0.8187 GB, free: 356 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.4781, allocations: 2.812 kB / 0.8187 GB, free: 356 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.632e-05/0.4781, allocations: 109.7 kB / 0.8188 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.4781, allocations: 384 / 0.8188 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-06/0.4782, allocations: 384 / 0.8188 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.464e-05/0.4782, allocations: 30.23 kB / 0.8188 GB, free: 192 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.4782, allocations: 3.938 kB / 0.8188 GB, free: 188 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.4782, allocations: 4 kB / 0.8188 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4782, allocations: 0 / 0.8188 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.442e-05/0.4783, allocations: 0.9844 kB / 0.8188 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.255e-05/0.4783, allocations: 121 kB / 0.819 GB, free: 24 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.98e-05/0.4784, allocations: 21.48 kB / 0.819 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.4784, allocations: 5.844 kB / 0.819 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.4784, allocations: 0.875 kB / 0.819 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.4784, allocations: 35.28 kB / 0.819 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.4784, allocations: 0 / 0.819 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.4786, allocations: 43.47 kB / 0.8191 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.4786, allocations: 60.31 kB / 0.8191 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.683e-05/0.4786, allocations: 89.86 kB / 0.8192 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.4786, allocations: 25.7 kB / 0.8192 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.961e-05/0.4786, allocations: 80.14 kB / 0.8193 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.4787, allocations: 0 / 0.8193 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.4787, allocations: 12.86 kB / 0.8193 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.4788, allocations: 311.8 kB / 0.8196 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.178e-06/0.4788, allocations: 7.812 kB / 0.8196 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-06/0.4788, allocations: 0 / 0.8196 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.809e-05/0.4788, allocations: 15.83 kB / 0.8196 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4788, allocations: 0 / 0.8196 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.327e-05/0.4789, allocations: 33.73 kB / 0.8197 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.4789, allocations: 3.375 kB / 0.8197 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.4789, allocations: 7.875 kB / 0.8197 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.4789, allocations: 2.641 kB / 0.8197 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.877e-05/0.479, allocations: 2.062 kB / 0.8197 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.479, allocations: 3.938 kB / 0.8197 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-06/0.479, allocations: 0.75 kB / 0.8197 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.479, allocations: 0 / 0.8197 GB, free: 15.23 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 6.958e-05/0.479, allocations: 112.8 kB / 0.8198 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-06/0.4791, allocations: 0 / 0.8198 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.4791, allocations: 15.45 kB / 0.8198 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4791, allocations: 1.328 kB / 0.8198 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4791, allocations: 5.156 kB / 0.8198 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.4791, allocations: 0 / 0.8198 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.632e-05/0.4792, allocations: 120 kB / 0.8199 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.4792, allocations: 0 / 0.8199 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-06/0.4792, allocations: 3.969 kB / 0.8199 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4792, allocations: 0.75 kB / 0.8199 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.4792, allocations: 3.938 kB / 0.8199 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.4792, allocations: 4 kB / 0.8199 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4792, allocations: 0 / 0.8199 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.289e-05/0.4792, allocations: 62.38 kB / 0.82 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.4792, allocations: 3.656 kB / 0.82 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.4792, allocations: 4.547 kB / 0.82 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.689e-06/0.4793, allocations: 0.7031 kB / 0.82 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.4793, allocations: 0 / 0.82 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.4793, allocations: 0 / 0.82 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.584e-05/0.4793, allocations: 75.89 kB / 0.8201 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4793, allocations: 3.938 kB / 0.8201 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001307/0.4794, allocations: 4.031 kB / 0.8201 GB, free: 14.78 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.0003134/0.4797, allocations: 0.5891 MB / 0.8207 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.625e-05/0.4798, allocations: 7.438 kB / 0.8207 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4798, allocations: 3.938 kB / 0.8207 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.37e-06/0.4798, allocations: 4.484 kB / 0.8207 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.4799, allocations: 4 kB / 0.8207 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006368/0.4806, allocations: 101.8 kB / 0.8208 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.384e-05/0.4806, allocations: 60.25 kB / 0.8208 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.176e-05/0.4806, allocations: 0 / 0.8208 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.4806, allocations: 7.438 kB / 0.8208 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.4806, allocations: 0 / 0.8208 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.4941, allocations: 1.407 MB / 0.8222 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.672/7.166, allocations: 7.391 kB / 0.8222 GB, free: 13.14 MB / 0.6198 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.157848233822733] Failed to read output from testmodel.py, exit status != 0: 7.241709087975323 7.256253973 6.776119143 Calling exit ...