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.0009046/0.0009046, allocations: 105.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.0008412/0.0008412, allocations: 219.1 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 0.9775/0.9775, allocations: 230.6 MB / 256 MB, free: 9.816 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.7881/0.7881, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.001107/0.001107, allocations: 66.05 kB / 0.7183 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5637/0.5648, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001464/0.5663, allocations: 0.701 MB / 0.8186 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007691/0.5671, allocations: 0.899 MB / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.946e-05/0.5671, allocations: 2.375 kB / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/0.5671, allocations: 4.5 kB / 0.8195 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.82e-05/0.5672, allocations: 4.781 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.5674, allocations: 20.52 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.528e-05/0.5675, allocations: 43.44 kB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.5676, allocations: 13.2 kB / 0.8196 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.126e-05/0.5677, allocations: 16.66 kB / 0.8196 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.5677, allocations: 26 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.5677, allocations: 3.5 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.315e-06/0.5677, allocations: 2.844 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.5677, allocations: 9.578 kB / 0.8196 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.5678, allocations: 15.83 kB / 0.8196 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.913e-05/0.5679, allocations: 44.78 kB / 0.8197 GB, free: 48 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5679, allocations: 0 / 0.8197 GB, free: 48 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5679, allocations: 1.219 kB / 0.8197 GB, free: 48 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.5679, allocations: 4 kB / 0.8197 GB, free: 44 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.0004061/0.5683, allocations: 293.5 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.5683, allocations: 12.33 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.783e-05/0.5684, allocations: 35.5 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.5684, allocations: 6.234 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.851e-05/0.5685, allocations: 111.6 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.5685, allocations: 1.75 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.5685, allocations: 5.594 kB / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.5686, allocations: 72.53 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.5687, allocations: 3.938 kB / 0.8202 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.5687, allocations: 7.266 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5687, allocations: 0 / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.5688, allocations: 62.42 kB / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.5691, allocations: 248.8 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.5692, allocations: 53.11 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.011e-05/0.5693, allocations: 35.16 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.5693, allocations: 4.219 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.5694, allocations: 38.56 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.5694, allocations: 0 / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003184/0.5697, allocations: 128 kB / 0.8207 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.5697, allocations: 56.2 kB / 0.8208 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.009e-05/0.5698, allocations: 109.6 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.5698, allocations: 25.7 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.5698, allocations: 93.38 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.5698, allocations: 9.812 kB / 0.821 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.5699, allocations: 16.8 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.769e-05/0.57, allocations: 316.4 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.57, allocations: 34.02 kB / 0.8214 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.5701, allocations: 31.14 kB / 0.8214 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.5702, allocations: 70.92 kB / 0.8215 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5702, allocations: 0 / 0.8215 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001783/0.5704, allocations: 105.1 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5704, allocations: 9.359 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5704, allocations: 0 / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.5705, allocations: 0 / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.5706, allocations: 13.33 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.5706, allocations: 3.016 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.877e-05/0.5706, allocations: 13.44 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.5706, allocations: 6.406 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 5.693e-05/0.5707, allocations: 111.9 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.5707, allocations: 6.406 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.5707, allocations: 10.91 kB / 0.8217 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5707, allocations: 0 / 0.8217 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5707, allocations: 8.531 kB / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5707, allocations: 0 / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.5708, allocations: 144.3 kB / 0.8219 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5708, allocations: 0.6094 kB / 0.8219 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.5709, allocations: 18.67 kB / 0.8219 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5709, allocations: 0 / 0.8219 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.5709, allocations: 0 / 0.8219 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.5709, allocations: 5.828 kB / 0.8219 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5709, allocations: 0 / 0.8219 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.5711, allocations: 198.4 kB / 0.8221 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.5711, allocations: 11.3 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.5711, allocations: 0 / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.231e-05/0.5712, allocations: 15.45 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.5712, allocations: 2.016 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.5712, allocations: 0.625 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.806e-05/0.5713, allocations: 93.84 kB / 0.8222 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5713, allocations: 0 / 0.8222 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000148/0.5714, allocations: 11.12 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.0004034/0.5718, allocations: 0.7244 MB / 0.8229 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.572, allocations: 71.52 kB / 0.823 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.572, allocations: 0 / 0.823 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.5721, allocations: 33.17 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.0002378/0.5723, allocations: 15.72 kB / 0.8231 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.5727, allocations: 160.6 kB / 0.8232 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.5729, allocations: 0.6821 MB / 0.8239 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.5729, allocations: 0.75 kB / 0.8239 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.573, allocations: 14.58 kB / 0.8239 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/0.573, allocations: 0 / 0.8239 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.5894, allocations: 1.788 MB / 0.8256 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.629/7.219, allocations: 6.656 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.245418218895793] Failed to read output from testmodel.py, exit status != 0: 7.296426422894001 7.309948496 6.739774696 Calling exit ...