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.0008689/0.0008689, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008505/0.0008505, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9183/0.9183, allocations: 177.1 MB / 202.8 MB, free: 5.598 MB / 186.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.7506/0.7506, allocations: 154.6 MB / 413.7 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.316e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001557/0.00158, allocations: 0.7439 MB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009309/0.002511, allocations: 0.882 MB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.032e-05/0.002561, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.64e-05/0.002597, allocations: 7.875 kB / 0.6197 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.938e-05/0.002677, allocations: 11.94 kB / 0.6197 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.002852, allocations: 43.88 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.002957, allocations: 83.77 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.003082, allocations: 31.91 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.992e-05/0.003172, allocations: 47.89 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.759e-05/0.00324, allocations: 47.88 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.003269, allocations: 8 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.00328, allocations: 8 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.003304, allocations: 19.91 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.003334, allocations: 19.98 kB / 0.62 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.003452, allocations: 91.7 kB / 0.6201 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003454, allocations: 7.938 kB / 0.6201 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003455, allocations: 0 / 0.6201 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.003459, allocations: 4 kB / 0.6201 GB, free: 11.68 MB / 0.5886 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.0004671/0.003927, allocations: 314.1 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.00397, allocations: 9.469 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.004005, allocations: 38.73 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.004033, allocations: 8.891 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.87e-05/0.004131, allocations: 121.6 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.004146, allocations: 4.375 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.004158, allocations: 12.38 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.004357, allocations: 105.9 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.004364, allocations: 0 / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.004376, allocations: 7.984 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.004381, allocations: 0 / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.004583, allocations: 99.91 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.00499, allocations: 291.8 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.005357, allocations: 118.5 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.005466, allocations: 60.86 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.005483, allocations: 4 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.005501, allocations: 30.56 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.005502, allocations: 4 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005679/0.00607, allocations: 177.5 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.006101, allocations: 51.41 kB / 0.6215 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.006178, allocations: 130.9 kB / 0.6216 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.006192, allocations: 25.7 kB / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.006236, allocations: 100.1 kB / 0.6217 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.006258, allocations: 23.78 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.006295, allocations: 25.7 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.006384, allocations: 322.7 kB / 0.6221 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.886e-05/0.006483, allocations: 47.94 kB / 0.6221 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.234e-05/0.006575, allocations: 47.95 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.006789, allocations: 96.77 kB / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006792, allocations: 0 / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000233/0.007025, allocations: 134 kB / 0.6224 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.007038, allocations: 4 kB / 0.6224 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.007044, allocations: 3.984 kB / 0.6224 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.007057, allocations: 4 kB / 0.6224 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.448e-05/0.007142, allocations: 31.91 kB / 0.6224 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.007148, allocations: 4.062 kB / 0.6224 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.007202, allocations: 15.98 kB / 0.6224 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.00721, allocations: 3.938 kB / 0.6224 GB, free: 9.059 MB / 0.5886 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 7.466e-05/0.007284, allocations: 114.8 kB / 0.6225 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.007302, allocations: 7.953 kB / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.007325, allocations: 12.42 kB / 0.6226 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.007328, allocations: 3.984 kB / 0.6226 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.007335, allocations: 8 kB / 0.6226 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.007339, allocations: 4 kB / 0.6226 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.007477, allocations: 160.6 kB / 0.6227 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.007478, allocations: 0 / 0.6227 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.457e-05/0.007543, allocations: 23.97 kB / 0.6228 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.007546, allocations: 4 kB / 0.6228 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.007557, allocations: 7.984 kB / 0.6228 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.007559, allocations: 0 / 0.6228 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.00756, allocations: 0 / 0.6228 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.007825, allocations: 239.3 kB / 0.623 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.007837, allocations: 7.953 kB / 0.623 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.007849, allocations: 0 / 0.623 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.007917, allocations: 15.98 kB / 0.623 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.007979, allocations: 15.97 kB / 0.623 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.007986, allocations: 8 kB / 0.623 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.216e-05/0.008028, allocations: 98.05 kB / 0.6231 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008028, allocations: 4 kB / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001604/0.008189, allocations: 19.94 kB / 0.6232 GB, free: 8.25 MB / 0.5886 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.0004795/0.008668, allocations: 0.767 MB / 0.6239 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.008917, allocations: 103.9 kB / 0.624 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.008919, allocations: 7.938 kB / 0.624 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.009029, allocations: 59.88 kB / 0.6241 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.009286, allocations: 9.875 kB / 0.6241 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.01068, allocations: 1.542 MB / 0.6256 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.533e-05/0.01074, allocations: 75.33 kB / 0.6257 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.72e-05/0.01078, allocations: 8 kB / 0.6257 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.01085, allocations: 32.48 kB / 0.6257 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of SimCode: time 6.51e-07/0.01085, allocations: 0 / 0.6257 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.02757, allocations: 3.478 MB / 0.6291 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.927/6.955, allocations: 10.03 kB / 0.6291 GB, free: 2.211 MB / 0.5886 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: 9.828101892024279] Failed to read output from testmodel.py, exit status != 0: 7.038172998465598 7.049445138 7.043484422 Calling exit ...