Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.0008304/0.0008304, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001315/0.001315, allocations: 208.1 kB / 22.25 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.9126/0.9126, allocations: 230.6 MB / 256 MB, free: 9.59 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.7594/0.7594, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",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.0008819/0.0008819, allocations: 70.83 kB / 0.7182 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.4786, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001399/0.48, allocations: 0.6927 MB / 0.8185 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000705/0.4807, allocations: 0.8313 MB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.4807, allocations: 0 / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.4807, allocations: 4.547 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.475e-05/0.4808, allocations: 6.391 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.4809, allocations: 14.09 kB / 0.8194 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.766e-05/0.481, allocations: 45.64 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.4811, allocations: 11.98 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.775e-05/0.4812, allocations: 16.92 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.808e-05/0.4812, allocations: 22.91 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.4812, allocations: 2.531 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.4813, allocations: 4 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.4813, allocations: 12.09 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.4813, allocations: 12.86 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.4814, allocations: 42.88 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.4814, allocations: 6.375 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.796e-06/0.4814, allocations: 0 / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.4814, allocations: 0 / 0.8195 GB, free: 15.88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003939/0.4818, allocations: 289.5 kB / 0.8198 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4819, allocations: 12.22 kB / 0.8198 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.4819, allocations: 31.64 kB / 0.8198 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.4819, allocations: 8.391 kB / 0.8198 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.745e-05/0.482, allocations: 112.5 kB / 0.82 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.482, allocations: 1.125 kB / 0.82 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.482, allocations: 2.469 kB / 0.82 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.4822, allocations: 69.67 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4822, allocations: 4.453 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.4822, allocations: 4 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4822, allocations: 2.375 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.4824, allocations: 64.88 kB / 0.8201 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.4827, allocations: 232.3 kB / 0.8203 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.4828, allocations: 60.34 kB / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.931e-05/0.4829, allocations: 44.25 kB / 0.8204 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.4829, allocations: 3.938 kB / 0.8204 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.483, allocations: 33.86 kB / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.483, allocations: 0 / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003333/0.4833, allocations: 132.7 kB / 0.8206 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.4833, allocations: 51.41 kB / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.4834, allocations: 114.1 kB / 0.8207 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.4834, allocations: 25.7 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.4835, allocations: 85.2 kB / 0.8208 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.4835, allocations: 20.59 kB / 0.8209 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.4835, allocations: 13.83 kB / 0.8209 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.74e-05/0.4836, allocations: 316.9 kB / 0.8212 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.4837, allocations: 29.67 kB / 0.8212 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.108e-05/0.4837, allocations: 38.16 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.4839, allocations: 70.56 kB / 0.8213 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4839, allocations: 0 / 0.8213 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001769/0.4841, allocations: 104.6 kB / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.4841, allocations: 3.969 kB / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4841, allocations: 0.5625 kB / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4841, allocations: 0 / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.4842, allocations: 18.58 kB / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4842, allocations: 0 / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.4842, allocations: 14.25 kB / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4842, allocations: 0 / 0.8214 GB, free: 14.26 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 (3): * Single equations (assignments): 3 * 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.34e-05/0.4843, allocations: 120.1 kB / 0.8216 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.4843, allocations: 6.422 kB / 0.8216 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.4845, allocations: 102.4 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.4845, allocations: 0.9062 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4845, allocations: 0.7969 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4845, allocations: 3.562 kB / 0.8217 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.4847, allocations: 136.8 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4847, allocations: 4 kB / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.4847, allocations: 14.31 kB / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4847, allocations: 0 / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.4847, allocations: 0.5 kB / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4847, allocations: 2.75 kB / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4847, allocations: 0 / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.485, allocations: 202.4 kB / 0.822 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-06/0.485, allocations: 6.266 kB / 0.822 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.485, allocations: 3.422 kB / 0.822 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.537e-05/0.485, allocations: 12.84 kB / 0.822 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.4851, allocations: 6.156 kB / 0.822 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.4851, allocations: 7.938 kB / 0.822 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.4851, allocations: 90.59 kB / 0.8221 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4851, allocations: 0 / 0.8221 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001483/0.4853, allocations: 8.094 kB / 0.8221 GB, free: 13.66 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 (3): * Single equations (assignments): 3 * 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.0005118/0.4858, allocations: 0.7308 MB / 0.8229 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.486, allocations: 71.94 kB / 0.8229 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.486, allocations: 0 / 0.8229 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.425e-05/0.4861, allocations: 41.52 kB / 0.823 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.4864, allocations: 8.797 kB / 0.823 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/0.4869, allocations: 162.7 kB / 0.8231 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.966e-05/0.4869, allocations: 64.11 kB / 0.8232 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.807e-05/0.4869, allocations: 2.016 kB / 0.8232 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.487, allocations: 14.8 kB / 0.8232 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.487, allocations: 4 kB / 0.8232 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.504, allocations: 2.17 MB / 0.8253 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.792/7.296, allocations: 3.375 kB / 0.8253 GB, free: 11.85 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.092249725013971] Failed to read output from testmodel.py, exit status != 0: 7.3814337509684265 7.393292451 6.909559056 Calling exit ...