Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001122/0.001122, 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.0009351/0.0009351, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9557/0.9557, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7865/0.7865, allocations: 203.5 MB / 0.5039 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IDEAS_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.0009784/0.0009784, allocations: 62.84 kB / 0.7178 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5584/0.5594, allocations: 102 MB / 0.8174 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001393/0.5608, allocations: 0.6796 MB / 0.8181 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007042/0.5615, allocations: 0.8296 MB / 0.8189 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.5615, allocations: 0 / 0.8189 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.5615, allocations: 4.875 kB / 0.8189 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.56e-05/0.5616, allocations: 13.67 kB / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.316e-05/0.5617, allocations: 9.688 kB / 0.8189 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.631e-05/0.5617, allocations: 46.56 kB / 0.819 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.5619, allocations: 5.656 kB / 0.819 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.569e-05/0.5619, allocations: 20.88 kB / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.971e-05/0.562, allocations: 19.88 kB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.562, allocations: 10.12 kB / 0.819 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-06/0.562, allocations: 2.125 kB / 0.819 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.562, allocations: 5.828 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.562, allocations: 13.8 kB / 0.819 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.581e-05/0.5621, allocations: 52.98 kB / 0.8191 GB, free: 112 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.5621, allocations: 0 / 0.8191 GB, free: 112 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5621, allocations: 4 kB / 0.8191 GB, free: 108 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.5621, allocations: 0 / 0.8191 GB, free: 108 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.0004261/0.5626, allocations: 292.3 kB / 0.8194 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.5626, allocations: 11.56 kB / 0.8194 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.5626, allocations: 31.41 kB / 0.8194 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.277e-05/0.5627, allocations: 8.188 kB / 0.8194 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.178e-05/0.5627, allocations: 108.9 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.5628, allocations: 4.75 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.5628, allocations: 4.359 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.5629, allocations: 71.91 kB / 0.8196 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.5629, allocations: 3.938 kB / 0.8196 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.563, allocations: 0 / 0.8196 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.563, allocations: 5.906 kB / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.5631, allocations: 62.72 kB / 0.8197 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.5634, allocations: 241.8 kB / 0.8199 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.5636, allocations: 49.48 kB / 0.82 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-05/0.5636, allocations: 43.78 kB / 0.82 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.5637, allocations: 0 / 0.82 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.5637, allocations: 36.47 kB / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.5637, allocations: 0 / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003395/0.564, allocations: 130.5 kB / 0.8202 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.564, allocations: 51.41 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/0.5641, allocations: 109.5 kB / 0.8203 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.5641, allocations: 25.7 kB / 0.8203 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.5642, allocations: 89.44 kB / 0.8204 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.5642, allocations: 9.859 kB / 0.8204 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.5642, allocations: 21.44 kB / 0.8204 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.5643, allocations: 320.7 kB / 0.8208 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.732e-05/0.5644, allocations: 29.45 kB / 0.8208 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.672e-05/0.5645, allocations: 35 kB / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.5646, allocations: 69.23 kB / 0.8209 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5646, allocations: 4 kB / 0.8209 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001857/0.5648, allocations: 93.95 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.5648, allocations: 5.531 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5648, allocations: 1.625 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5648, allocations: 0 / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.076e-05/0.5649, allocations: 25.02 kB / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5649, allocations: 4 kB / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.565, allocations: 10.84 kB / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.565, allocations: 1.625 kB / 0.821 GB, free: 14.49 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.749e-05/0.5651, allocations: 116 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.5651, allocations: 7.344 kB / 0.8211 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.5651, allocations: 8.562 kB / 0.8211 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5651, allocations: 1.469 kB / 0.8211 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.5651, allocations: 4.328 kB / 0.8212 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.5651, allocations: 1.734 kB / 0.8212 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.5652, allocations: 144.6 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5653, allocations: 0.7031 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.594e-05/0.5653, allocations: 16.22 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5653, allocations: 4.734 kB / 0.8213 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.5653, allocations: 0 / 0.8213 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5653, allocations: 2.719 kB / 0.8213 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5653, allocations: 0 / 0.8213 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.5655, allocations: 192.5 kB / 0.8215 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.5655, allocations: 11.23 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.5656, allocations: 0.5625 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.103e-05/0.5656, allocations: 15.89 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.5656, allocations: 5.266 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.5656, allocations: 0 / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.5657, allocations: 88.64 kB / 0.8216 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5657, allocations: 0 / 0.8216 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001434/0.5658, allocations: 7.656 kB / 0.8216 GB, free: 13.94 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.000452/0.5663, allocations: 0.729 MB / 0.8223 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.5665, allocations: 70.64 kB / 0.8224 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.5665, allocations: 0 / 0.8224 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.523e-05/0.5666, allocations: 39.19 kB / 0.8224 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.5669, allocations: 11.2 kB / 0.8224 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.5673, allocations: 164 kB / 0.8226 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.18e-05/0.5673, allocations: 63.38 kB / 0.8227 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.411e-05/0.5674, allocations: 1.672 kB / 0.8227 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.5674, allocations: 19.52 kB / 0.8227 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of SimCode: time 4.7e-07/0.5674, allocations: 0 / 0.8227 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.5891, allocations: 2.184 MB / 0.8248 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.59, allocations: 4.484 kB / 0.8248 GB, free: 12.12 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.556841768790036] Failed to read output from testmodel.py, exit status != 0: 7.667992179747671 7.683869588 7.119114745 Calling exit ...