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.001165/0.001165, 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.0009493/0.0009493, allocations: 221.7 kB / 22.26 MB, free: 3.695 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.9793/0.9793, allocations: 230.6 MB / 256 MB, free: 9.816 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.7763/0.7763, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.001011/0.001011, allocations: 62.94 kB / 0.7183 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5101/0.5111, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001321/0.5124, allocations: 0.5736 MB / 0.8185 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.041e-05/0.5124, allocations: 4.547 kB / 0.8185 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.733e-05/0.5125, allocations: 0 / 0.8185 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.415e-05/0.5125, allocations: 0 / 0.8185 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.846e-05/0.5125, allocations: 1.75 kB / 0.8185 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.143e-05/0.5125, allocations: 0 / 0.8185 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.839e-05/0.5126, allocations: 9.656 kB / 0.8185 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.5126, allocations: 4.25 kB / 0.8185 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.593e-05/0.5127, allocations: 0 / 0.8185 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.79e-05/0.5127, allocations: 0.75 kB / 0.8185 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.5127, allocations: 1.812 kB / 0.8185 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-06/0.5127, allocations: 0 / 0.8185 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.5127, allocations: 4 kB / 0.8185 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.5127, allocations: 3.938 kB / 0.8185 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.702e-05/0.5128, allocations: 3.375 kB / 0.8185 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.5128, allocations: 0 / 0.8185 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5128, allocations: 0 / 0.8185 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.5128, allocations: 4 kB / 0.8185 GB, free: 0.8906 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.000173/0.513, allocations: 235.2 kB / 0.8187 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.513, allocations: 9.469 kB / 0.8187 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.055e-05/0.513, allocations: 31.31 kB / 0.8188 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.777e-05/0.513, allocations: 2.094 kB / 0.8188 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.356e-05/0.5131, allocations: 113.5 kB / 0.8189 GB, free: 476 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.5131, allocations: 4.375 kB / 0.8189 GB, free: 472 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.5131, allocations: 0.9375 kB / 0.8189 GB, free: 472 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.229e-05/0.5132, allocations: 33.48 kB / 0.8189 GB, free: 436 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.5132, allocations: 3.938 kB / 0.8189 GB, free: 432 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.5132, allocations: 0 / 0.8189 GB, free: 432 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.5132, allocations: 6.156 kB / 0.8189 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.64e-05/0.5132, allocations: 0 / 0.8189 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.963e-05/0.5133, allocations: 116.8 kB / 0.819 GB, free: 272 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.243e-05/0.5133, allocations: 24.73 kB / 0.819 GB, free: 240 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.029e-05/0.5134, allocations: 8.375 kB / 0.8191 GB, free: 232 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.5134, allocations: 4 kB / 0.8191 GB, free: 228 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.5134, allocations: 30.56 kB / 0.8191 GB, free: 188 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.5134, allocations: 0 / 0.8191 GB, free: 188 kB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001101/0.5135, allocations: 40.39 kB / 0.8191 GB, free: 148 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.5135, allocations: 51.41 kB / 0.8192 GB, free: 84 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.516e-05/0.5135, allocations: 95.17 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.5136, allocations: 25.7 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.273e-05/0.5136, allocations: 88.86 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.5136, allocations: 1.25 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.5136, allocations: 14.02 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.124e-05/0.5137, allocations: 315.5 kB / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-06/0.5137, allocations: 0 / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-06/0.5137, allocations: 0 / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.122e-05/0.5138, allocations: 13.27 kB / 0.8197 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5138, allocations: 0 / 0.8197 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.91e-05/0.5138, allocations: 36.58 kB / 0.8197 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.5138, allocations: 7.812 kB / 0.8197 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.5138, allocations: 3.938 kB / 0.8197 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5138, allocations: 0 / 0.8197 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.648e-05/0.5139, allocations: 6.438 kB / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.5139, allocations: 0.7969 kB / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.025e-06/0.5139, allocations: 0 / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.5139, allocations: 2 kB / 0.8198 GB, free: 15.47 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 5.031e-05/0.514, allocations: 110.5 kB / 0.8199 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-06/0.514, allocations: 2.312 kB / 0.8199 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.652e-05/0.514, allocations: 11.69 kB / 0.8199 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.514, allocations: 0 / 0.8199 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.514, allocations: 0 / 0.8199 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.514, allocations: 0.5156 kB / 0.8199 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.135e-05/0.5141, allocations: 121.6 kB / 0.82 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.5141, allocations: 0 / 0.82 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-06/0.5141, allocations: 2.312 kB / 0.82 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.5141, allocations: 0.7031 kB / 0.82 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.5141, allocations: 3.938 kB / 0.82 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.5141, allocations: 4 kB / 0.82 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5141, allocations: 0.7031 kB / 0.82 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.743e-05/0.5141, allocations: 62.67 kB / 0.8201 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-06/0.5141, allocations: 8.391 kB / 0.8201 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-06/0.5141, allocations: 8.547 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.447e-06/0.5141, allocations: 0 / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-06/0.5142, allocations: 4.5 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-06/0.5142, allocations: 4.031 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.999e-05/0.5142, allocations: 75.28 kB / 0.8202 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5142, allocations: 0 / 0.8202 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001175/0.5143, allocations: 0 / 0.8202 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.0002529/0.5145, allocations: 0.5967 MB / 0.8207 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.292e-05/0.5146, allocations: 11.08 kB / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5146, allocations: 0 / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.5146, allocations: 1.812 kB / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.5147, allocations: 1.656 kB / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.515, allocations: 112.4 kB / 0.8209 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.5152, allocations: 0.6702 MB / 0.8215 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.467e-05/0.5153, allocations: 0 / 0.8215 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.5153, allocations: 11.56 kB / 0.8215 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.5153, allocations: 3.062 kB / 0.8215 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.5317, allocations: 1.004 MB / 0.8225 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/7.399, allocations: 7.953 kB / 0.8225 GB, free: 13.17 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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.247186701046303] Failed to read output from testmodel.py, exit status != 0: 7.476778650889173 7.487990962 6.973064384 Calling exit ...