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.0007907/0.0007907, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008128/0.0008128, allocations: 162 kB / 22.43 MB, free: 2.141 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.8575/0.8575, allocations: 177.2 MB / 202.8 MB, free: 5.773 MB / 186.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.6918/0.6918, allocations: 155 MB / 414.2 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.001042/0.001042, allocations: 74.88 kB / 0.6187 GB, free: 13.2 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4553, allocations: 102 MB / 0.7183 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001318/0.4566, allocations: 0.566 MB / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 5.041e-05/0.4567, allocations: 0 / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.4567, allocations: 1.125 kB / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.4567, allocations: 0 / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.138e-05/0.4568, allocations: 4 kB / 0.7189 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.401e-05/0.4568, allocations: 1.094 kB / 0.7189 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.946e-05/0.4569, allocations: 9.672 kB / 0.7189 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.663e-05/0.4569, allocations: 1.672 kB / 0.7189 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.457, allocations: 1.922 kB / 0.7189 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.883e-05/0.457, allocations: 0 / 0.7189 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.457, allocations: 5.031 kB / 0.7189 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.739e-06/0.457, allocations: 0 / 0.7189 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.457, allocations: 0 / 0.7189 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.457, allocations: 4.844 kB / 0.7189 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 6.415e-05/0.4571, allocations: 2.438 kB / 0.7189 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4571, allocations: 4 kB / 0.7189 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4571, allocations: 0 / 0.7189 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.4571, allocations: 0.9688 kB / 0.7189 GB, free: 22.75 MB / 0.6355 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.0002042/0.4573, allocations: 235.6 kB / 0.7191 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.4573, allocations: 11.06 kB / 0.7191 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.38e-05/0.4574, allocations: 32.66 kB / 0.7191 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.882e-05/0.4574, allocations: 4.891 kB / 0.7192 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.924e-05/0.4574, allocations: 104.2 kB / 0.7193 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.4574, allocations: 6.109 kB / 0.7193 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.4575, allocations: 384 / 0.7193 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.868e-05/0.4575, allocations: 36.97 kB / 0.7193 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.4575, allocations: 3.938 kB / 0.7193 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.4575, allocations: 1.125 kB / 0.7193 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4575, allocations: 0 / 0.7193 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.768e-05/0.4576, allocations: 5.75 kB / 0.7193 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.682e-05/0.4576, allocations: 119.6 kB / 0.7194 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.46e-05/0.4577, allocations: 17.36 kB / 0.7194 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.4577, allocations: 8.656 kB / 0.7194 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.4577, allocations: 0 / 0.7194 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.4577, allocations: 35.72 kB / 0.7195 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.4577, allocations: 5.188 kB / 0.7195 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001132/0.4578, allocations: 42.64 kB / 0.7195 GB, free: 22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.4579, allocations: 53.14 kB / 0.7196 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.061e-05/0.4579, allocations: 89.86 kB / 0.7197 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.419e-06/0.4579, allocations: 25.7 kB / 0.7197 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-06/0.4579, allocations: 81.33 kB / 0.7198 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.4579, allocations: 4.266 kB / 0.7198 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.4579, allocations: 15.66 kB / 0.7198 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.987e-05/0.458, allocations: 316.5 kB / 0.7201 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-06/0.458, allocations: 1.781 kB / 0.7201 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-06/0.458, allocations: 5.469 kB / 0.7201 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.679e-05/0.458, allocations: 7.891 kB / 0.7201 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.458, allocations: 0.9688 kB / 0.7201 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.167e-05/0.458, allocations: 35.95 kB / 0.7201 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4581, allocations: 5.703 kB / 0.7201 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4581, allocations: 3.938 kB / 0.7201 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.4581, allocations: 0 / 0.7201 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.288e-05/0.4581, allocations: 2.969 kB / 0.7201 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4581, allocations: 0 / 0.7201 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.797e-06/0.4581, allocations: 5.953 kB / 0.7202 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.4582, allocations: 0 / 0.7202 GB, free: 21.34 MB / 0.6355 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.684e-05/0.4582, allocations: 113.8 kB / 0.7203 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-06/0.4582, allocations: 0 / 0.7203 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.4582, allocations: 12.69 kB / 0.7203 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4582, allocations: 0 / 0.7203 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4582, allocations: 0 / 0.7203 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.4582, allocations: 2.031 kB / 0.7203 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.622e-05/0.4583, allocations: 115.4 kB / 0.7204 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4583, allocations: 0 / 0.7204 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.555e-06/0.4583, allocations: 1.844 kB / 0.7204 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.4583, allocations: 5.062 kB / 0.7204 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.4583, allocations: 3.938 kB / 0.7204 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4583, allocations: 1.828 kB / 0.7204 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4583, allocations: 3.938 kB / 0.7204 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.576e-05/0.4584, allocations: 57.75 kB / 0.7205 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.4584, allocations: 6.125 kB / 0.7205 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.4584, allocations: 4.938 kB / 0.7205 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.827e-06/0.4584, allocations: 4 kB / 0.7205 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.4584, allocations: 2.234 kB / 0.7205 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.92e-07/0.4584, allocations: 0 / 0.7205 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.505e-05/0.4584, allocations: 80.11 kB / 0.7205 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4584, allocations: 5.781 kB / 0.7206 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001121/0.4585, allocations: 0 / 0.7206 GB, free: 20.89 MB / 0.6355 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.0002087/0.4587, allocations: 0.6006 MB / 0.7211 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.783e-05/0.4588, allocations: 7.594 kB / 0.7211 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4588, allocations: 1 kB / 0.7211 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.1e-06/0.4588, allocations: 2.609 kB / 0.7211 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/0.4589, allocations: 5.188 kB / 0.7212 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.4592, allocations: 109.2 kB / 0.7213 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.439e-05/0.4593, allocations: 58.45 kB / 0.7213 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.447e-05/0.4593, allocations: 2.078 kB / 0.7213 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.4593, allocations: 8.5 kB / 0.7213 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/0.4593, allocations: 0 / 0.7213 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.4741, allocations: 1.536 MB / 0.7228 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.512/6.986, allocations: 2.156 kB / 0.7228 GB, free: 19.18 MB / 0.6355 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: 9.608374476898462] Failed to read output from testmodel.py, exit status != 0: 7.063123029191047 7.074849517 6.615654103 Calling exit ...