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.0007462/0.0007462, allocations: 105.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.0008397/0.0008397, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9476/0.9476, allocations: 230.6 MB / 256 MB, free: 9.605 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.7737/0.7737, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.001229/0.001229, allocations: 66.77 kB / 0.7182 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.4494, allocations: 102 MB / 0.8178 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.00167/0.4511, allocations: 0.5768 MB / 0.8184 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 5.323e-05/0.4512, allocations: 7.594 kB / 0.8184 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.4512, allocations: 0 / 0.8184 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.4512, allocations: 0 / 0.8184 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.187e-05/0.4513, allocations: 0.5625 kB / 0.8184 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.167e-05/0.4513, allocations: 0 / 0.8184 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.886e-05/0.4514, allocations: 8.75 kB / 0.8184 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.972e-05/0.4515, allocations: 6.625 kB / 0.8184 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.361e-05/0.4515, allocations: 0 / 0.8184 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.465e-05/0.4515, allocations: 3.984 kB / 0.8184 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.4515, allocations: 0 / 0.8184 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-06/0.4516, allocations: 0 / 0.8184 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.4516, allocations: 3.938 kB / 0.8184 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.4516, allocations: 1.094 kB / 0.8184 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.246e-05/0.4517, allocations: 1.266 kB / 0.8184 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.4517, allocations: 0.9375 kB / 0.8184 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.507e-06/0.4517, allocations: 0 / 0.8184 GB, free: 0.6289 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.4517, allocations: 4 kB / 0.8184 GB, free: 0.625 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.0002854/0.452, allocations: 237.7 kB / 0.8186 GB, free: 380 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.4521, allocations: 9.812 kB / 0.8187 GB, free: 380 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.4521, allocations: 38.86 kB / 0.8187 GB, free: 336 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.4521, allocations: 4.875 kB / 0.8187 GB, free: 332 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.162e-05/0.4522, allocations: 103.2 kB / 0.8188 GB, free: 204 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4522, allocations: 384 / 0.8188 GB, free: 204 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.4522, allocations: 1.125 kB / 0.8188 GB, free: 204 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.4523, allocations: 29.55 kB / 0.8188 GB, free: 172 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4524, allocations: 4.641 kB / 0.8188 GB, free: 168 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4524, allocations: 4 kB / 0.8188 GB, free: 164 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4524, allocations: 0 / 0.8188 GB, free: 164 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.742e-05/0.4524, allocations: 1.094 kB / 0.8188 GB, free: 164 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.4525, allocations: 120 kB / 0.819 GB, free: 4 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.791e-05/0.4526, allocations: 21.97 kB / 0.819 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.4526, allocations: 7.859 kB / 0.819 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.4527, allocations: 0 / 0.819 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.4527, allocations: 33.5 kB / 0.819 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.4527, allocations: 0 / 0.819 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.4528, allocations: 42.2 kB / 0.8191 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.4529, allocations: 60.47 kB / 0.8191 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.56e-05/0.4529, allocations: 94.41 kB / 0.8192 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.4529, allocations: 28.58 kB / 0.8192 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.4529, allocations: 84.08 kB / 0.8193 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.453, allocations: 0 / 0.8193 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.453, allocations: 11.62 kB / 0.8193 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.4531, allocations: 314.1 kB / 0.8196 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.4531, allocations: 4 kB / 0.8196 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-06/0.4531, allocations: 1.219 kB / 0.8196 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.537e-05/0.4531, allocations: 11.81 kB / 0.8196 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4531, allocations: 0 / 0.8196 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.22e-05/0.4532, allocations: 31.91 kB / 0.8197 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4532, allocations: 6.812 kB / 0.8197 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4532, allocations: 3.938 kB / 0.8197 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4532, allocations: 3.938 kB / 0.8197 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/0.4533, allocations: 2.875 kB / 0.8197 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.4533, allocations: 0 / 0.8197 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-06/0.4533, allocations: 1.75 kB / 0.8197 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.4533, allocations: 0.5625 kB / 0.8197 GB, free: 15.21 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 4.925e-05/0.4533, allocations: 116.6 kB / 0.8198 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-06/0.4533, allocations: 0 / 0.8198 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.766e-05/0.4534, allocations: 11.45 kB / 0.8198 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4534, allocations: 2.188 kB / 0.8198 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4534, allocations: 0.6562 kB / 0.8198 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.4534, allocations: 0 / 0.8198 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.728e-05/0.4534, allocations: 120.9 kB / 0.8199 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4534, allocations: 0.7031 kB / 0.8199 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-06/0.4534, allocations: 0 / 0.8199 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.4534, allocations: 0 / 0.8199 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.4534, allocations: 6.906 kB / 0.8199 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.4534, allocations: 4 kB / 0.8199 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.8e-07/0.4534, allocations: 0 / 0.8199 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.738e-05/0.4535, allocations: 62.7 kB / 0.82 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-06/0.4535, allocations: 0 / 0.82 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.4535, allocations: 6.016 kB / 0.82 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.156e-06/0.4535, allocations: 0 / 0.82 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.4535, allocations: 0.6562 kB / 0.82 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-07/0.4535, allocations: 2 kB / 0.82 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.026e-05/0.4535, allocations: 75.8 kB / 0.8201 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.4535, allocations: 3.938 kB / 0.8201 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001129/0.4536, allocations: 5.75 kB / 0.8201 GB, free: 14.76 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.0002319/0.4539, allocations: 0.5955 MB / 0.8207 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.518e-05/0.4539, allocations: 12.73 kB / 0.8207 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4539, allocations: 0 / 0.8207 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-06/0.4539, allocations: 2.188 kB / 0.8207 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.748e-05/0.454, allocations: 4.188 kB / 0.8207 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.4543, allocations: 105 kB / 0.8208 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.499e-05/0.4544, allocations: 58.61 kB / 0.8208 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.097e-05/0.4544, allocations: 3.281 kB / 0.8208 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.4544, allocations: 11.42 kB / 0.8209 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.4544, allocations: 0 / 0.8209 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.4673, allocations: 1.4 MB / 0.8222 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.64/7.108, allocations: 6.859 kB / 0.8222 GB, free: 13.13 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: 9.941061675082892] Failed to read output from testmodel.py, exit status != 0: 7.1843564081937075 7.194651883 6.7409151099999995 Calling exit ...