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.0009022/0.0009022, allocations: 109.9 kB / 18.93 MB, free: 1.277 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.001151/0.001151, allocations: 219.2 kB / 22.26 MB, free: 3.699 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 1.036/1.036, allocations: 230.6 MB / 256 MB, free: 9.82 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.8215/0.8215, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.0009086/0.0009086, allocations: 67.16 kB / 0.7183 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5499/0.5508, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.001453/0.5523, allocations: 0.6527 MB / 0.8185 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000706/0.553, allocations: 0.8486 MB / 0.8194 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.553, allocations: 0 / 0.8194 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.553, allocations: 11.88 kB / 0.8194 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.091e-05/0.5531, allocations: 5.562 kB / 0.8194 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.5533, allocations: 10.19 kB / 0.8194 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.292e-05/0.5534, allocations: 25.7 kB / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.737e-05/0.5534, allocations: 5.297 kB / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.933e-05/0.5535, allocations: 9.953 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.616e-05/0.5535, allocations: 13.66 kB / 0.8195 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.5536, allocations: 0.75 kB / 0.8195 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.084e-05/0.5536, allocations: 12.7 kB / 0.8195 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.5536, allocations: 8.516 kB / 0.8195 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.5536, allocations: 13.39 kB / 0.8195 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.5537, allocations: 29.66 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5537, allocations: 0 / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.875e-06/0.5537, allocations: 0.7812 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.5537, allocations: 0 / 0.8195 GB, free: 144 kB / 0.6042 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.0003483/0.5541, allocations: 262.3 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.5541, allocations: 10.17 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.057e-05/0.5542, allocations: 33 kB / 0.8198 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.5542, allocations: 2.531 kB / 0.8198 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.412e-05/0.5543, allocations: 114.1 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.5543, allocations: 7.594 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.5543, allocations: 384 / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.5545, allocations: 48.55 kB / 0.82 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.5545, allocations: 3.938 kB / 0.82 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.5545, allocations: 0.6094 kB / 0.82 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.5545, allocations: 3.156 kB / 0.82 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.126e-05/0.5546, allocations: 33.47 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.5549, allocations: 221.4 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.049e-05/0.555, allocations: 46.06 kB / 0.8203 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.555, allocations: 18.78 kB / 0.8203 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.5551, allocations: 0.7031 kB / 0.8203 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.5551, allocations: 38.31 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.5551, allocations: 0 / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002149/0.5553, allocations: 81.14 kB / 0.8204 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.5553, allocations: 56.5 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.24e-05/0.5554, allocations: 102.9 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.5554, allocations: 30.53 kB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.5554, allocations: 80.8 kB / 0.8207 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.5555, allocations: 3.953 kB / 0.8207 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.5555, allocations: 17.12 kB / 0.8207 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.955e-05/0.5556, allocations: 315.3 kB / 0.821 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.5556, allocations: 20.64 kB / 0.821 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/0.5556, allocations: 16.86 kB / 0.821 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.462e-05/0.5557, allocations: 41.53 kB / 0.8211 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5557, allocations: 3.938 kB / 0.8211 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001116/0.5558, allocations: 68.78 kB / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.5559, allocations: 9.844 kB / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.5559, allocations: 0 / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.5559, allocations: 32 / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.556, allocations: 13.89 kB / 0.8211 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.556, allocations: 4.875 kB / 0.8212 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.556, allocations: 9.281 kB / 0.8212 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.556, allocations: 2.844 kB / 0.8212 GB, free: 14.58 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 6.188e-05/0.5561, allocations: 114.3 kB / 0.8213 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.5561, allocations: 3.406 kB / 0.8213 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.5562, allocations: 79.31 kB / 0.8213 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5562, allocations: 0 / 0.8213 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5562, allocations: 0 / 0.8213 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5562, allocations: 0 / 0.8213 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.5563, allocations: 135.3 kB / 0.8215 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5563, allocations: 0 / 0.8215 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.5564, allocations: 14.38 kB / 0.8215 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5564, allocations: 0 / 0.8215 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.5564, allocations: 0 / 0.8215 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5564, allocations: 4.406 kB / 0.8215 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5564, allocations: 4.031 kB / 0.8215 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.5565, allocations: 162.7 kB / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-06/0.5565, allocations: 4.562 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.5565, allocations: 0 / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.967e-05/0.5566, allocations: 6.641 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.5566, allocations: 6.656 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.5566, allocations: 0 / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.944e-05/0.5566, allocations: 80.98 kB / 0.8217 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5566, allocations: 0 / 0.8217 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001504/0.5568, allocations: 7.125 kB / 0.8218 GB, free: 14.01 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.0003601/0.5572, allocations: 0.6962 MB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.5573, allocations: 33.3 kB / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5573, allocations: 3.938 kB / 0.8225 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.265e-05/0.5573, allocations: 21.05 kB / 0.8225 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.5576, allocations: 13.94 kB / 0.8225 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.5579, allocations: 130.3 kB / 0.8226 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.5581, allocations: 0.6753 MB / 0.8233 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.247e-05/0.5581, allocations: 0.7031 kB / 0.8233 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.5582, allocations: 9.328 kB / 0.8233 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5582, allocations: 3.656 kB / 0.8233 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.5748, allocations: 1.387 MB / 0.8247 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.377/6.951, allocations: 1.281 kB / 0.8247 GB, free: 12.04 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.056021594908088] Failed to read output from testmodel.py, exit status != 0: 7.029324428876862 7.041893491 6.48525177 Calling exit ...