Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.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.0007523/0.0007523, 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.000766/0.000766, 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.9463/0.9463, allocations: 230.6 MB / 256 MB, free: 9.598 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.762/0.762, 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.Validation.Log,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",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.001225/0.001225, allocations: 63.06 kB / 0.7182 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5544/0.5556, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.001851/0.5575, allocations: 0.6499 MB / 0.8185 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007318/0.5582, allocations: 0.8465 MB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.5582, allocations: 1.156 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.5583, allocations: 3.938 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.5583, allocations: 1.062 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.5585, allocations: 13.67 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.627e-05/0.5586, allocations: 22.66 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.5587, allocations: 5.266 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.444e-05/0.5588, allocations: 12.59 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.5588, allocations: 16.02 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.5588, allocations: 0 / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.109e-05/0.5589, allocations: 10.89 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.5589, allocations: 8.516 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.5589, allocations: 5.969 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.5591, allocations: 26.59 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.5591, allocations: 3.125 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5591, allocations: 0 / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.5591, allocations: 0 / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004104/0.5595, allocations: 262 kB / 0.8197 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5595, allocations: 9.719 kB / 0.8197 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/0.5596, allocations: 35.5 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.896e-05/0.5596, allocations: 4.75 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.654e-05/0.5597, allocations: 117.7 kB / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.5597, allocations: 384 / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.5597, allocations: 1.156 kB / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.5599, allocations: 57.47 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.5599, allocations: 5.406 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.5599, allocations: 0 / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5599, allocations: 0 / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.109e-05/0.56, allocations: 35.08 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.5603, allocations: 213 kB / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.868e-05/0.5604, allocations: 45.53 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.5604, allocations: 24.05 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.5605, allocations: 0 / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.5605, allocations: 31.45 kB / 0.8202 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.5605, allocations: 1.469 kB / 0.8202 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002257/0.5607, allocations: 79.33 kB / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.5607, allocations: 56.06 kB / 0.8204 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.849e-05/0.5608, allocations: 98.11 kB / 0.8205 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.5608, allocations: 29.64 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.5608, allocations: 85.95 kB / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.5608, allocations: 4.562 kB / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.5609, allocations: 17.7 kB / 0.8206 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.5609, allocations: 318.3 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.856e-05/0.561, allocations: 14.39 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.726e-05/0.561, allocations: 19.69 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.669e-05/0.5611, allocations: 47 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5611, allocations: 4.594 kB / 0.821 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001113/0.5612, allocations: 64.97 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.5612, allocations: 5.688 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5613, allocations: 4.609 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.5613, allocations: 2.875 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.927e-05/0.5613, allocations: 11.36 kB / 0.8211 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.5613, allocations: 4.5 kB / 0.8211 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.5614, allocations: 6.516 kB / 0.8211 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.5614, allocations: 0 / 0.8211 GB, free: 14.35 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 (2): * Single equations (assignments): 2 * 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.387e-05/0.5614, allocations: 112 kB / 0.8212 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.5614, allocations: 1.562 kB / 0.8212 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.5616, allocations: 81.05 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.5616, allocations: 0 / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5616, allocations: 0 / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.5616, allocations: 0.5625 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.926e-05/0.5617, allocations: 135.4 kB / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.5617, allocations: 0 / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.831e-05/0.5617, allocations: 6.5 kB / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5617, allocations: 1.906 kB / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.5617, allocations: 0 / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5617, allocations: 6.5 kB / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5617, allocations: 4.453 kB / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.5619, allocations: 161.8 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-06/0.5619, allocations: 6.234 kB / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.5619, allocations: 0.8438 kB / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.5619, allocations: 10.22 kB / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.562, allocations: 4.094 kB / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.562, allocations: 0 / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.862e-05/0.562, allocations: 87.62 kB / 0.8217 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.562, allocations: 0 / 0.8217 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000141/0.5621, allocations: 4.625 kB / 0.8217 GB, free: 13.79 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 (2): * Single equations (assignments): 2 * 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.0003461/0.5625, allocations: 0.6912 MB / 0.8223 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001322/0.5626, allocations: 39.08 kB / 0.8224 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5626, allocations: 7.594 kB / 0.8224 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.26e-05/0.5627, allocations: 19.7 kB / 0.8224 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.5629, allocations: 4.734 kB / 0.8224 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.5632, allocations: 134.2 kB / 0.8225 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.64e-05/0.5633, allocations: 59.59 kB / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.127e-05/0.5633, allocations: 0 / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.5633, allocations: 13.62 kB / 0.8226 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.5633, allocations: 4.062 kB / 0.8226 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.5788, allocations: 1.808 MB / 0.8244 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/7.265, allocations: 1.375 kB / 0.8244 GB, free: 12.02 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Log.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.159268618095666] Failed to read output from testmodel.py, exit status != 0: 7.34203964099288 7.357844961 6.795621036 Calling exit ...