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.0007512/0.0007512, allocations: 105.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.0008447/0.0008447, allocations: 216 kB / 22.25 MB, free: 3.594 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.9982/0.9982, allocations: 230.6 MB / 256 MB, free: 9.625 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.8083/0.8083, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.001037/0.001037, allocations: 73.8 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5545/0.5555, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001703/0.5572, allocations: 0.6807 MB / 0.8185 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008218/0.5581, allocations: 0.8296 MB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.5581, allocations: 0 / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.5581, allocations: 4.641 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.789e-05/0.5582, allocations: 7.859 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.039e-05/0.5583, allocations: 16.72 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.612e-05/0.5584, allocations: 48.08 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.5585, allocations: 4.391 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.09e-05/0.5585, allocations: 19.97 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.5586, allocations: 23.94 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.5586, allocations: 2.094 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-06/0.5586, allocations: 4.281 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.5586, allocations: 6.016 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.5587, allocations: 13.97 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.5588, allocations: 45.89 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5588, allocations: 0.6094 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.285e-06/0.5588, allocations: 7.938 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.5588, allocations: 0 / 0.8195 GB, free: 15.89 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004407/0.5592, allocations: 291.8 kB / 0.8198 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.5593, allocations: 7.875 kB / 0.8198 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.154e-05/0.5593, allocations: 33.3 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.28e-05/0.5593, allocations: 7.609 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.444e-05/0.5594, allocations: 112.5 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.5594, allocations: 384 / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.5594, allocations: 9.031 kB / 0.82 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.5596, allocations: 68.36 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.5596, allocations: 3.938 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.5596, allocations: 7.719 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5596, allocations: 0 / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.5598, allocations: 60.8 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.5601, allocations: 246.4 kB / 0.8203 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.5603, allocations: 52.27 kB / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.615e-05/0.5603, allocations: 41.17 kB / 0.8204 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.5604, allocations: 0 / 0.8204 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.5604, allocations: 32.73 kB / 0.8204 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.5604, allocations: 0 / 0.8204 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003283/0.5607, allocations: 133.8 kB / 0.8206 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.5607, allocations: 52.02 kB / 0.8206 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.776e-05/0.5608, allocations: 109.9 kB / 0.8207 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.5608, allocations: 26.45 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.5609, allocations: 87.47 kB / 0.8208 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.5609, allocations: 14.31 kB / 0.8208 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.5609, allocations: 15.8 kB / 0.8209 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.561, allocations: 319.1 kB / 0.8212 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.884e-05/0.5611, allocations: 31.34 kB / 0.8212 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.626e-05/0.5612, allocations: 32.88 kB / 0.8212 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.5613, allocations: 72.38 kB / 0.8213 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5613, allocations: 3.938 kB / 0.8213 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001878/0.5615, allocations: 98.77 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5615, allocations: 5.328 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5616, allocations: 0 / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.5616, allocations: 1.156 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.95e-05/0.5617, allocations: 16.03 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5617, allocations: 4 kB / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.5617, allocations: 12 kB / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.5617, allocations: 1.625 kB / 0.8214 GB, free: 14.27 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.548e-05/0.5618, allocations: 117.3 kB / 0.8215 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.5618, allocations: 5.641 kB / 0.8216 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.5618, allocations: 14.2 kB / 0.8216 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5619, allocations: 0.9688 kB / 0.8216 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5619, allocations: 0 / 0.8216 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5619, allocations: 0.5156 kB / 0.8216 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.562, allocations: 143.8 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.562, allocations: 0 / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.277e-05/0.5621, allocations: 13.89 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.5621, allocations: 1.094 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.5621, allocations: 0.7969 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5621, allocations: 1.656 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5621, allocations: 3.938 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.5623, allocations: 200.1 kB / 0.8219 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.5623, allocations: 9.391 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.5623, allocations: 0 / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.5624, allocations: 14.53 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.5624, allocations: 1.281 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.5624, allocations: 1.344 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.005e-05/0.5625, allocations: 93.02 kB / 0.822 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5625, allocations: 0 / 0.822 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000144/0.5626, allocations: 5.594 kB / 0.822 GB, free: 13.72 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.0004721/0.5631, allocations: 0.7318 MB / 0.8227 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.5633, allocations: 66.84 kB / 0.8228 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5633, allocations: 0 / 0.8228 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.5634, allocations: 40.44 kB / 0.8229 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.5637, allocations: 9.062 kB / 0.8229 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.5641, allocations: 173.3 kB / 0.823 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.602e-05/0.5641, allocations: 65.09 kB / 0.8231 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.096e-05/0.5642, allocations: 5.188 kB / 0.8231 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.5642, allocations: 14.58 kB / 0.8231 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/0.5642, allocations: 0 / 0.8231 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.5835, allocations: 2.175 MB / 0.8252 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.661/7.244, allocations: 17.62 kB / 0.8252 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.307838892098516] Failed to read output from testmodel.py, exit status != 0: 7.321982216555625 7.3370466500000004 6.775800724 Calling exit ...