Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.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.0008194/0.0008194, allocations: 101.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.0009355/0.0009355, allocations: 212 kB / 22.25 MB, free: 3.578 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.9412/0.9412, allocations: 230.6 MB / 256 MB, free: 9.594 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.8044/0.8044, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.Integers.Validation.Subtract,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract",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.0009662/0.0009662, allocations: 71.92 kB / 0.7182 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5606/0.5615, allocations: 102 MB / 0.8178 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001919/0.5635, allocations: 0.7415 MB / 0.8185 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009534/0.5644, allocations: 0.8881 MB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.981e-05/0.5645, allocations: 3.781 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.921e-05/0.5645, allocations: 9.188 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.56e-05/0.5646, allocations: 9.047 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.5648, allocations: 37.89 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.5649, allocations: 90.58 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.5651, allocations: 18.8 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.5652, allocations: 40.86 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.219e-05/0.5653, allocations: 48.45 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.5653, allocations: 6.5 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.5653, allocations: 12.56 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.594e-05/0.5653, allocations: 20.75 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.5654, allocations: 33.2 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.5656, allocations: 90.38 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.5656, allocations: 0 / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5656, allocations: 0 / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.5656, allocations: 0 / 0.8198 GB, free: 15.68 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005838/0.5662, allocations: 317.8 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.5662, allocations: 12.39 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.5663, allocations: 36.06 kB / 0.8202 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.5663, allocations: 8.797 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.5664, allocations: 123.3 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.5664, allocations: 2.469 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.5664, allocations: 11.34 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.5667, allocations: 105.1 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.5667, allocations: 1.344 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.5667, allocations: 3.938 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.5667, allocations: 1.312 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.5669, allocations: 105 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.5674, allocations: 294.7 kB / 0.8208 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.5678, allocations: 120.2 kB / 0.8209 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.5679, allocations: 57.98 kB / 0.8209 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.5679, allocations: 0 / 0.8209 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.5679, allocations: 36.48 kB / 0.821 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.5679, allocations: 3.094 kB / 0.821 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004325/0.5684, allocations: 179.7 kB / 0.8212 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.5684, allocations: 57.28 kB / 0.8212 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.095e-05/0.5685, allocations: 126.5 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.5685, allocations: 25.7 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.5686, allocations: 99.81 kB / 0.8215 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.5686, allocations: 20.8 kB / 0.8215 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.5686, allocations: 20.64 kB / 0.8215 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.5687, allocations: 319.1 kB / 0.8218 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.5688, allocations: 45.64 kB / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.5689, allocations: 47.44 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.5692, allocations: 101.3 kB / 0.822 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5692, allocations: 0 / 0.822 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002602/0.5694, allocations: 142.8 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.5694, allocations: 5.312 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5694, allocations: 0 / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.5695, allocations: 5.109 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.5696, allocations: 25.16 kB / 0.8222 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.5696, allocations: 3.938 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.267e-05/0.5696, allocations: 14.34 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.5696, allocations: 7.406 kB / 0.8222 GB, free: 13.89 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.071e-05/0.5697, allocations: 119.5 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.5697, allocations: 6.797 kB / 0.8223 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.5698, allocations: 14.14 kB / 0.8223 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5698, allocations: 0 / 0.8223 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5698, allocations: 3.938 kB / 0.8223 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5698, allocations: 2 kB / 0.8223 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.5702, allocations: 155.3 kB / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5702, allocations: 0 / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.234e-05/0.5703, allocations: 34.31 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5703, allocations: 0 / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.5703, allocations: 8 kB / 0.8225 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.5703, allocations: 3.859 kB / 0.8225 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5703, allocations: 3.938 kB / 0.8225 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.5706, allocations: 226.8 kB / 0.8227 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.5706, allocations: 8.062 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.5707, allocations: 3.984 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.5707, allocations: 17 kB / 0.8228 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/0.5708, allocations: 28.5 kB / 0.8228 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.5708, allocations: 3.797 kB / 0.8228 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.5708, allocations: 92.47 kB / 0.8229 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5708, allocations: 1.125 kB / 0.8229 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001593/0.571, allocations: 20.69 kB / 0.8229 GB, free: 13.29 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004942/0.5715, allocations: 0.767 MB / 0.8236 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.5718, allocations: 109.8 kB / 0.8237 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5718, allocations: 1.281 kB / 0.8237 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.5719, allocations: 58.8 kB / 0.8238 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.5722, allocations: 10.25 kB / 0.8238 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.5738, allocations: 1.528 MB / 0.8253 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.982e-05/0.5739, allocations: 85.59 kB / 0.8254 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.849e-05/0.574, allocations: 12.3 kB / 0.8254 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.642e-05/0.574, allocations: 39.5 kB / 0.8254 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.574, allocations: 0 / 0.8254 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.5942, allocations: 3.351 MB / 0.8287 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.67/7.265, allocations: 6.359 kB / 0.8287 GB, free: 10.23 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract_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_Integers_Validation_Subtract.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.283499943092465] Failed to read output from testmodel.py, exit status != 0: 7.345459123142064 7.3562576459999995 6.788515919 Calling exit ...