Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.001092/0.001092, 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.001498/0.001498, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.009/1.009, allocations: 230.6 MB / 256 MB, free: 9.812 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.8132/0.8132, allocations: 203.8 MB / 0.5042 GB, free: 10.69 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.Modulo,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo",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.0009999/0.0009999, allocations: 72.41 kB / 0.7183 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5678/0.5688, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001645/0.5705, allocations: 0.7078 MB / 0.8186 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009136/0.5714, allocations: 0.9019 MB / 0.8195 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.5714, allocations: 4 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.5714, allocations: 4.547 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.096e-05/0.5715, allocations: 6.922 kB / 0.8195 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.5717, allocations: 21.44 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.5719, allocations: 43.92 kB / 0.8196 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.572, allocations: 6.203 kB / 0.8196 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.434e-05/0.5721, allocations: 19.39 kB / 0.8196 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.279e-05/0.5721, allocations: 20.5 kB / 0.8196 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.5721, allocations: 5.094 kB / 0.8196 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/0.5722, allocations: 7.344 kB / 0.8196 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.5722, allocations: 10 kB / 0.8196 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.5722, allocations: 15.28 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.5723, allocations: 46.28 kB / 0.8197 GB, free: 40 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5723, allocations: 0 / 0.8197 GB, free: 40 kB / 0.6042 GB Notification: Performance of FrontEnd: time 3.267e-06/0.5723, allocations: 2.188 kB / 0.8197 GB, free: 40 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.5724, allocations: 0 / 0.8197 GB, free: 40 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004996/0.5729, allocations: 290.7 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.5729, allocations: 14.34 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.5729, allocations: 31.59 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.573, allocations: 12.83 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.5731, allocations: 112.2 kB / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.5731, allocations: 1.172 kB / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.5731, allocations: 6.062 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.5733, allocations: 70.25 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.5733, allocations: 3.938 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.5734, allocations: 0 / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5734, allocations: 7.688 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.5735, allocations: 61.78 kB / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.5739, allocations: 243 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.574, allocations: 58.42 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.869e-05/0.5741, allocations: 35.27 kB / 0.8206 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.5741, allocations: 0.7969 kB / 0.8206 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.5742, allocations: 36.28 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.5742, allocations: 0 / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003295/0.5745, allocations: 131.8 kB / 0.8207 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.5745, allocations: 53.45 kB / 0.8208 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/0.5746, allocations: 106.7 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.5746, allocations: 26.23 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.5747, allocations: 92.3 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.5747, allocations: 13.88 kB / 0.821 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.5747, allocations: 17.69 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.5748, allocations: 313.2 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.896e-05/0.5749, allocations: 31.48 kB / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.64e-05/0.575, allocations: 31.58 kB / 0.8214 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.5751, allocations: 73.56 kB / 0.8215 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5751, allocations: 0 / 0.8215 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002002/0.5753, allocations: 100.3 kB / 0.8216 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.5754, allocations: 4.75 kB / 0.8216 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.5754, allocations: 0 / 0.8216 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.5754, allocations: 7.25 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.87e-05/0.5755, allocations: 13.25 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.5755, allocations: 3.375 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.5755, allocations: 18.77 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.5755, allocations: 3.984 kB / 0.8216 GB, free: 14.41 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.79e-05/0.5756, allocations: 114.2 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.5756, allocations: 4.562 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.5757, allocations: 13.81 kB / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5757, allocations: 0.5625 kB / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5757, allocations: 3.938 kB / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5757, allocations: 4.109 kB / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.5758, allocations: 142.8 kB / 0.8219 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5758, allocations: 7.719 kB / 0.8219 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.5758, allocations: 12.94 kB / 0.8219 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.5759, allocations: 3.281 kB / 0.8219 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.5759, allocations: 3.938 kB / 0.8219 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5759, allocations: 4.609 kB / 0.8219 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5759, allocations: 0 / 0.8219 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.5761, allocations: 192 kB / 0.8221 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-06/0.5761, allocations: 8.562 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.5761, allocations: 0 / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.475e-05/0.5762, allocations: 15.89 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.5762, allocations: 4.625 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.5762, allocations: 0.7969 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.112e-05/0.5762, allocations: 92.09 kB / 0.8222 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5762, allocations: 0 / 0.8222 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001503/0.5764, allocations: 6.156 kB / 0.8222 GB, free: 13.86 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.0004629/0.5769, allocations: 0.7308 MB / 0.8229 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.5771, allocations: 67.94 kB / 0.823 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5771, allocations: 4 kB / 0.823 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.377e-05/0.5772, allocations: 39.09 kB / 0.823 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.5774, allocations: 6.938 kB / 0.823 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.5779, allocations: 161 kB / 0.8232 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.5781, allocations: 0.6824 MB / 0.8239 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.102e-05/0.5781, allocations: 4 kB / 0.8239 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.5782, allocations: 16.48 kB / 0.8239 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.5782, allocations: 0 / 0.8239 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.5966, allocations: 1.788 MB / 0.8256 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.438/7.035, allocations: 3.672 kB / 0.8256 GB, free: 11.84 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.087977274088189] Failed to read output from testmodel.py, exit status != 0: 7.109632029896602 7.122351179 6.546612667 Calling exit ...