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.001003/0.001003, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009963/0.0009963, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9889/0.9889, allocations: 230.6 MB / 256 MB, free: 9.809 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.8351/0.8351, allocations: 203.8 MB / 0.5042 GB, free: 10.26 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.001001/0.001001, allocations: 66.39 kB / 0.7183 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5983/0.5993, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001575/0.6009, allocations: 0.5665 MB / 0.8184 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 5.196e-05/0.6009, allocations: 6.141 kB / 0.8185 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.042e-05/0.6009, allocations: 0 / 0.8185 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/0.601, allocations: 0 / 0.8185 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.548e-05/0.601, allocations: 0 / 0.8185 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.553e-05/0.601, allocations: 9.469 kB / 0.8185 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.107e-05/0.6011, allocations: 3.109 kB / 0.8185 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.197e-05/0.6012, allocations: 1.906 kB / 0.8185 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.6012, allocations: 7.078 kB / 0.8185 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.201e-05/0.6012, allocations: 0 / 0.8185 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.6012, allocations: 4 kB / 0.8185 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-06/0.6012, allocations: 0 / 0.8185 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.6013, allocations: 0.9375 kB / 0.8185 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.6013, allocations: 3.938 kB / 0.8185 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.516e-05/0.6014, allocations: 3.094 kB / 0.8185 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6014, allocations: 0 / 0.8185 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6014, allocations: 0 / 0.8185 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.6014, allocations: 0 / 0.8185 GB, free: 0.8828 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.0001971/0.6016, allocations: 239 kB / 0.8187 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.6016, allocations: 9.875 kB / 0.8187 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.35e-05/0.6016, allocations: 34.75 kB / 0.8188 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/0.6017, allocations: 2.188 kB / 0.8188 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.976e-05/0.6017, allocations: 110.1 kB / 0.8189 GB, free: 464 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.6017, allocations: 384 / 0.8189 GB, free: 464 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.6017, allocations: 384 / 0.8189 GB, free: 464 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/0.6018, allocations: 29.69 kB / 0.8189 GB, free: 432 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.6018, allocations: 3.938 kB / 0.8189 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.6018, allocations: 0 / 0.8189 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.6018, allocations: 0.5156 kB / 0.8189 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.88e-05/0.6018, allocations: 2.656 kB / 0.8189 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.602, allocations: 122.1 kB / 0.819 GB, free: 264 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.079e-05/0.602, allocations: 25.62 kB / 0.819 GB, free: 232 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.877e-05/0.602, allocations: 8.828 kB / 0.819 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.6021, allocations: 0 / 0.819 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.6021, allocations: 35.17 kB / 0.8191 GB, free: 180 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.6021, allocations: 0 / 0.8191 GB, free: 180 kB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001732/0.6023, allocations: 43.33 kB / 0.8191 GB, free: 136 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.6023, allocations: 52.2 kB / 0.8192 GB, free: 72 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.737e-05/0.6023, allocations: 89.86 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.6023, allocations: 26.45 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/0.6024, allocations: 80.14 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.6024, allocations: 7.484 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.6024, allocations: 10.33 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.6025, allocations: 319.4 kB / 0.8197 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.6026, allocations: 7.719 kB / 0.8197 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-06/0.6026, allocations: 0.7031 kB / 0.8197 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.501e-05/0.6026, allocations: 5.859 kB / 0.8197 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6026, allocations: 6.719 kB / 0.8197 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.04e-05/0.6027, allocations: 29.56 kB / 0.8197 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.6027, allocations: 7.781 kB / 0.8197 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6027, allocations: 4.453 kB / 0.8197 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.6027, allocations: 3.969 kB / 0.8197 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.6028, allocations: 4.797 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.6028, allocations: 3.938 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.829e-06/0.6028, allocations: 0 / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.6028, allocations: 0.5156 kB / 0.8198 GB, free: 15.46 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.161e-05/0.6029, allocations: 112.6 kB / 0.8199 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-06/0.6029, allocations: 0 / 0.8199 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.6029, allocations: 11.59 kB / 0.8199 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.6029, allocations: 1.125 kB / 0.8199 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6029, allocations: 4 kB / 0.8199 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.6029, allocations: 6.375 kB / 0.8199 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.76e-05/0.603, allocations: 114.2 kB / 0.82 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.603, allocations: 1.125 kB / 0.82 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-06/0.603, allocations: 3.891 kB / 0.82 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.603, allocations: 0 / 0.82 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.603, allocations: 4.594 kB / 0.82 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.603, allocations: 0 / 0.82 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.603, allocations: 0 / 0.82 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.235e-05/0.6031, allocations: 60.27 kB / 0.8201 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-06/0.6031, allocations: 3.141 kB / 0.8201 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.6031, allocations: 8.625 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-06/0.6031, allocations: 0 / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.6031, allocations: 2.188 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-06/0.6031, allocations: 0 / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.415e-05/0.6031, allocations: 75.28 kB / 0.8201 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6031, allocations: 0 / 0.8201 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001124/0.6032, allocations: 1.875 kB / 0.8201 GB, free: 15.02 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.0003259/0.6036, allocations: 0.5923 MB / 0.8207 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.61e-05/0.6037, allocations: 17.19 kB / 0.8207 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6037, allocations: 0 / 0.8207 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.086e-06/0.6037, allocations: 0.6094 kB / 0.8207 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.6038, allocations: 8.062 kB / 0.8208 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.6041, allocations: 104.2 kB / 0.8208 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.6043, allocations: 0.6745 MB / 0.8215 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.609e-05/0.6044, allocations: 0 / 0.8215 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.6044, allocations: 11.38 kB / 0.8215 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.6044, allocations: 0 / 0.8215 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.6222, allocations: 1.008 MB / 0.8225 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.47/7.093, allocations: 10.94 kB / 0.8225 GB, free: 13.16 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.273883301066235] Failed to read output from testmodel.py, exit status != 0: 7.1724691689014435 7.18579375 6.58190732 Calling exit ...