Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.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.0007299/0.0007299, allocations: 109.3 kB / 18.93 MB, free: 1.273 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.0007568/0.0007568, allocations: 218.2 kB / 22.25 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.9781/0.9781, allocations: 230.6 MB / 256 MB, free: 9.773 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.7799/0.7799, 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.Divide,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide",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.001159/0.001159, allocations: 73.47 kB / 0.7183 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5563/0.5574, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001351/0.5588, allocations: 0.702 MB / 0.8186 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006013/0.5594, allocations: 0.8362 MB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.5594, allocations: 3.938 kB / 0.8194 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.81e-05/0.5595, allocations: 0.75 kB / 0.8194 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.841e-05/0.5595, allocations: 9.922 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.793e-05/0.5596, allocations: 13.06 kB / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.521e-05/0.5597, allocations: 38.77 kB / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.5598, allocations: 8.906 kB / 0.8195 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.5599, allocations: 21.89 kB / 0.8195 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.756e-05/0.5599, allocations: 24.73 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.56, allocations: 4.812 kB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-06/0.56, allocations: 4.188 kB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.56, allocations: 7.125 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.56, allocations: 21.47 kB / 0.8196 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.5601, allocations: 39.36 kB / 0.8196 GB, free: 88 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5601, allocations: 3.875 kB / 0.8196 GB, free: 88 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5601, allocations: 0 / 0.8196 GB, free: 88 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.5601, allocations: 0 / 0.8196 GB, free: 88 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.0004845/0.5606, allocations: 292 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5607, allocations: 10.06 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.5607, allocations: 35.41 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.5607, allocations: 8.312 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.65e-05/0.5608, allocations: 108.1 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.5608, allocations: 384 / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.5609, allocations: 4.938 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.5611, allocations: 65.64 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.5611, allocations: 7.938 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5611, allocations: 10.38 kB / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5611, allocations: 0 / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.5613, allocations: 66.06 kB / 0.8202 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.5617, allocations: 249 kB / 0.8204 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.5619, allocations: 61.16 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.562, allocations: 34.47 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.562, allocations: 0 / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.562, allocations: 33.58 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.562, allocations: 4 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004322/0.5624, allocations: 126.6 kB / 0.8207 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.5625, allocations: 53.47 kB / 0.8207 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.4e-05/0.5626, allocations: 106.8 kB / 0.8208 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.5626, allocations: 29.64 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.5626, allocations: 95.25 kB / 0.8209 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.5627, allocations: 16.38 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.5627, allocations: 11.55 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.5628, allocations: 319.7 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.5629, allocations: 25.06 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/0.5629, allocations: 35.52 kB / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.5631, allocations: 75.45 kB / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5631, allocations: 0 / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001728/0.5633, allocations: 96.25 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.5633, allocations: 11.92 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5633, allocations: 0 / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5633, allocations: 1.406 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/0.5634, allocations: 15.23 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5634, allocations: 0.5156 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.953e-05/0.5634, allocations: 14.23 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.5634, allocations: 0.6094 kB / 0.8215 GB, free: 14.46 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 7.134e-05/0.5635, allocations: 114.3 kB / 0.8216 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.5635, allocations: 7.453 kB / 0.8216 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.5636, allocations: 9.031 kB / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5636, allocations: 1.688 kB / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5636, allocations: 0.6094 kB / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.5636, allocations: 0 / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.5637, allocations: 147.4 kB / 0.8218 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5637, allocations: 3.938 kB / 0.8218 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-05/0.5638, allocations: 15.05 kB / 0.8218 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5638, allocations: 0 / 0.8218 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.5638, allocations: 4.703 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5638, allocations: 3 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5638, allocations: 0 / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.5641, allocations: 196.2 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.5641, allocations: 4.609 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.5641, allocations: 5.578 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.462e-05/0.5642, allocations: 15.81 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.5643, allocations: 11.73 kB / 0.822 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.5643, allocations: 1.062 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.5643, allocations: 84.52 kB / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.5643, allocations: 0 / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002562/0.5646, allocations: 9.438 kB / 0.8221 GB, free: 13.9 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.0005348/0.5651, allocations: 0.7306 MB / 0.8229 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.5653, allocations: 73.38 kB / 0.8229 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5653, allocations: 1.125 kB / 0.8229 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.717e-05/0.5654, allocations: 37.33 kB / 0.823 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.5656, allocations: 5.297 kB / 0.823 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.5659, allocations: 167.6 kB / 0.8231 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.5661, allocations: 0.6787 MB / 0.8238 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.5662, allocations: 1.984 kB / 0.8238 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.5662, allocations: 16.16 kB / 0.8238 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of SimCode: time 7.42e-07/0.5662, allocations: 0 / 0.8238 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.5821, allocations: 1.74 MB / 0.8255 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.578/7.16, allocations: 4.188 kB / 0.8255 GB, free: 11.88 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide_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_Divide.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.191202495014295] Failed to read output from testmodel.py, exit status != 0: 7.237730415072292 7.251606215 6.689372522 Calling exit ...