Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0008287/0.0008287, 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.0008345/0.0008345, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.008/1.008, allocations: 230.6 MB / 256 MB, free: 9.777 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.8359/0.8359, 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.Validation.MultiMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",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.000889/0.000889, allocations: 65.77 kB / 0.7183 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5532/0.5541, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002036/0.5561, allocations: 0.6474 MB / 0.8185 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001557/0.5562, allocations: 12.39 kB / 0.8186 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.5563, allocations: 0 / 0.8186 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.5564, allocations: 6.625 kB / 0.8186 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.457e-05/0.5565, allocations: 4.703 kB / 0.8186 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.05e-05/0.5565, allocations: 2.75 kB / 0.8186 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.5566, allocations: 29.95 kB / 0.8186 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.5568, allocations: 21.81 kB / 0.8186 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.745e-05/0.5568, allocations: 13.61 kB / 0.8186 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.575e-05/0.5568, allocations: 20.2 kB / 0.8186 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.5569, allocations: 5.906 kB / 0.8187 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.5569, allocations: 4.125 kB / 0.8187 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.5569, allocations: 9.656 kB / 0.8187 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.557, allocations: 20.05 kB / 0.8187 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.5571, allocations: 40.86 kB / 0.8187 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5571, allocations: 0 / 0.8187 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.385e-06/0.5571, allocations: 0 / 0.8187 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.5571, allocations: 0.7812 kB / 0.8187 GB, free: 0.7461 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002794/0.5574, allocations: 277.6 kB / 0.819 GB, free: 476 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.5574, allocations: 12.88 kB / 0.819 GB, free: 476 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.639e-05/0.5574, allocations: 39.5 kB / 0.819 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.5575, allocations: 9.109 kB / 0.819 GB, free: 424 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.5576, allocations: 129.5 kB / 0.8192 GB, free: 280 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.5576, allocations: 11.95 kB / 0.8192 GB, free: 272 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.5576, allocations: 1.031 kB / 0.8192 GB, free: 272 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.5578, allocations: 81.64 kB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.5578, allocations: 3.938 kB / 0.8193 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.5578, allocations: 0 / 0.8193 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.5578, allocations: 0 / 0.8193 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.222e-05/0.5578, allocations: 48.98 kB / 0.8193 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.5583, allocations: 461.9 kB / 0.8198 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.591e-05/0.5584, allocations: 176.4 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.5584, allocations: 80.14 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.5584, allocations: 75.28 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.5585, allocations: 110.9 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.5585, allocations: 112 / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.772e-05/0.5585, allocations: 37.09 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.5586, allocations: 131.6 kB / 0.8203 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.5587, allocations: 177.4 kB / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.5588, allocations: 25.7 kB / 0.8205 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.5588, allocations: 93.75 kB / 0.8206 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-06/0.5588, allocations: 4.656 kB / 0.8206 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.5589, allocations: 18.14 kB / 0.8206 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.559, allocations: 319.8 kB / 0.8209 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.559, allocations: 8.219 kB / 0.821 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.188e-05/0.559, allocations: 8.375 kB / 0.821 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.201e-05/0.559, allocations: 14.72 kB / 0.821 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.559, allocations: 1.438 kB / 0.821 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001037/0.5591, allocations: 54.2 kB / 0.821 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.5591, allocations: 6.75 kB / 0.821 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5592, allocations: 0 / 0.821 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.5592, allocations: 3.938 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.074e-05/0.5592, allocations: 8.562 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.5592, allocations: 0 / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.5593, allocations: 9.312 kB / 0.8211 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.5593, allocations: 2.5 kB / 0.8211 GB, free: 14.5 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 8.744e-05/0.5594, allocations: 192.5 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.5594, allocations: 113.1 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/0.5594, allocations: 121.2 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.975e-05/0.5595, allocations: 185 kB / 0.8216 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.484e-05/0.5595, allocations: 178.6 kB / 0.8218 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.186e-05/0.5596, allocations: 180.9 kB / 0.822 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.5598, allocations: 399.2 kB / 0.8224 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.348e-05/0.5598, allocations: 105.8 kB / 0.8225 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.5599, allocations: 102.3 kB / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.358e-05/0.5599, allocations: 187.9 kB / 0.8227 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.372e-05/0.56, allocations: 181 kB / 0.8229 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-05/0.56, allocations: 180.9 kB / 0.8231 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.945e-05/0.5601, allocations: 188.6 kB / 0.8233 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.5602, allocations: 306 kB / 0.8236 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.5602, allocations: 118.6 kB / 0.8237 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.5603, allocations: 178.2 kB / 0.8238 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.833e-05/0.5604, allocations: 118.6 kB / 0.824 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.5604, allocations: 182.3 kB / 0.8241 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.5604, allocations: 105.3 kB / 0.8242 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.72e-05/0.5605, allocations: 126.5 kB / 0.8243 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5605, allocations: 3.938 kB / 0.8244 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001414/0.5607, allocations: 3.344 kB / 0.8244 GB, free: 11.03 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 (0): * Single equations (assignments): 0 * 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.000336/0.561, allocations: 0.8028 MB / 0.8251 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.636e-05/0.5611, allocations: 13.02 kB / 0.8252 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5611, allocations: 0 / 0.8252 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.5611, allocations: 3.938 kB / 0.8252 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.5614, allocations: 471.4 kB / 0.8256 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.5624, allocations: 1.604 MB / 0.8272 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.5626, allocations: 0.694 MB / 0.8279 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.5627, allocations: 7.781 kB / 0.8279 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.5627, allocations: 16.73 kB / 0.8279 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.5627, allocations: 3.344 kB / 0.8279 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.5779, allocations: 1.727 MB / 0.8296 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.274/6.852, allocations: 5.047 kB / 0.8296 GB, free: 7.207 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.937779221916571] Failed to read output from testmodel.py, exit status != 0: 6.928276808001101 6.939040099 6.379741073 Calling exit ...