Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001046/0.001046, allocations: 109.9 kB / 18.93 MB, free: 1.277 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.001262/0.001262, allocations: 219.2 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 1.008/1.008, allocations: 230.6 MB / 256 MB, free: 9.82 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.8411/0.8411, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.Subtract,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_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.001394/0.001394, allocations: 67.16 kB / 0.7183 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5636/0.565, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001462/0.5665, allocations: 0.6956 MB / 0.8186 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005854/0.5671, allocations: 0.8327 MB / 0.8194 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.5671, allocations: 5.906 kB / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.5671, allocations: 3.938 kB / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.398e-05/0.5672, allocations: 6.016 kB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.75e-05/0.5673, allocations: 14.42 kB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.716e-05/0.5673, allocations: 42.08 kB / 0.8195 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.5674, allocations: 14.44 kB / 0.8195 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.406e-05/0.5675, allocations: 19.59 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.205e-05/0.5675, allocations: 18.67 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.5676, allocations: 3.531 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.254e-06/0.5676, allocations: 7.5 kB / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.5676, allocations: 13.95 kB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.5676, allocations: 20.83 kB / 0.8196 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.003e-05/0.5677, allocations: 41.47 kB / 0.8196 GB, free: 88 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5677, allocations: 0 / 0.8196 GB, free: 88 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5677, allocations: 1.5 kB / 0.8196 GB, free: 88 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.5677, 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.0003891/0.5681, allocations: 291.4 kB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.5682, allocations: 8.781 kB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.5682, allocations: 36.75 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.133e-05/0.5682, allocations: 6.391 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.573e-05/0.5683, allocations: 111.8 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.5683, allocations: 2.344 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.5683, allocations: 384 / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.5685, allocations: 69.39 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.5685, allocations: 3.938 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.5685, allocations: 0.5625 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5685, allocations: 9.062 kB / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.5686, allocations: 68.64 kB / 0.8202 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.569, allocations: 245.3 kB / 0.8204 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.5691, allocations: 55.7 kB / 0.8205 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/0.5692, allocations: 42.78 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.5692, allocations: 0.75 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.5692, allocations: 30.56 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.5692, allocations: 0 / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003124/0.5695, allocations: 132.5 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.5695, allocations: 55.41 kB / 0.8207 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.5696, allocations: 107.1 kB / 0.8208 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.5696, allocations: 27.23 kB / 0.8209 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.5697, allocations: 90.66 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.5697, allocations: 11.39 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.5697, allocations: 17.94 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.106e-05/0.5698, allocations: 316.5 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/0.5699, allocations: 29.55 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.5699, allocations: 35.72 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.5701, allocations: 75.64 kB / 0.8214 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5701, allocations: 0 / 0.8214 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001679/0.5702, allocations: 96.39 kB / 0.8215 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.5703, allocations: 7.625 kB / 0.8215 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.5703, allocations: 1.781 kB / 0.8215 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.5703, allocations: 4 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.5704, allocations: 16.08 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.5704, allocations: 4.25 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.816e-05/0.5704, allocations: 13.47 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.5704, allocations: 0 / 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 5.981e-05/0.5705, allocations: 115.2 kB / 0.8217 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.5705, allocations: 7.031 kB / 0.8217 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.5705, allocations: 16.14 kB / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5705, allocations: 0.6562 kB / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.5705, allocations: 0 / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.5705, allocations: 0 / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.5706, allocations: 138.8 kB / 0.8218 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.5706, allocations: 0 / 0.8218 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.5707, allocations: 18.64 kB / 0.8218 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.5707, allocations: 0.7031 kB / 0.8218 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.5707, allocations: 4 kB / 0.8218 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5707, allocations: 4.984 kB / 0.8218 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5707, allocations: 7.938 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.5709, allocations: 190.5 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.5709, allocations: 8.062 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.5709, allocations: 0.5156 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.197e-05/0.5709, allocations: 19.89 kB / 0.8221 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.571, allocations: 2.438 kB / 0.8221 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.571, allocations: 6.312 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.571, allocations: 86.47 kB / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.571, allocations: 0 / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000139/0.5712, allocations: 8.25 kB / 0.8222 GB, free: 13.91 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.0003826/0.5715, allocations: 0.7283 MB / 0.8229 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.5717, allocations: 66.52 kB / 0.8229 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5717, allocations: 4 kB / 0.8229 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.283e-05/0.5718, allocations: 34.92 kB / 0.823 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.572, allocations: 8.531 kB / 0.823 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.5723, allocations: 166.7 kB / 0.8231 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.5725, allocations: 0.6792 MB / 0.8238 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.74e-05/0.5726, allocations: 5.969 kB / 0.8238 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.5726, allocations: 21.14 kB / 0.8238 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of SimCode: time 4.5e-07/0.5726, allocations: 1.25 kB / 0.8238 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.587, allocations: 1.733 MB / 0.8255 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.39/6.977, allocations: 3.438 kB / 0.8255 GB, free: 11.89 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.052259990014136] Failed to read output from testmodel.py, exit status != 0: 7.054756072117016 7.064815744 6.494958259 Calling exit ...