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.0009227/0.0009227, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.001064/0.001064, allocations: 214.2 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.9466/0.9466, 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 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.7834/0.7834, allocations: 203.5 MB / 0.5039 GB, free: 10.73 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.001136/0.001136, allocations: 66.45 kB / 0.7178 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5594/0.5606, allocations: 102 MB / 0.8174 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001463/0.562, allocations: 0.6825 MB / 0.8181 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007071/0.5627, allocations: 0.8289 MB / 0.8189 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.5628, allocations: 0 / 0.8189 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.5628, allocations: 5.5 kB / 0.8189 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.238e-05/0.5629, allocations: 8.438 kB / 0.8189 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.426e-05/0.5629, allocations: 18 kB / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.056e-05/0.563, allocations: 40.34 kB / 0.819 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.5631, allocations: 8.656 kB / 0.819 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.621e-05/0.5632, allocations: 17.7 kB / 0.819 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.909e-05/0.5632, allocations: 18.61 kB / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.5632, allocations: 2.781 kB / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.365e-06/0.5632, allocations: 9 kB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.5633, allocations: 6.016 kB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.5633, allocations: 22.75 kB / 0.8191 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.94e-05/0.5634, allocations: 43.67 kB / 0.8191 GB, free: 120 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.5634, allocations: 4 kB / 0.8191 GB, free: 116 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5634, allocations: 0 / 0.8191 GB, free: 116 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.5634, allocations: 4 kB / 0.8191 GB, free: 112 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.0004081/0.5638, allocations: 290.2 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.5638, allocations: 6.781 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.5639, allocations: 33.28 kB / 0.8194 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.5639, allocations: 8.562 kB / 0.8194 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.5643, allocations: 113.2 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.5643, allocations: 2.922 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.5643, allocations: 2.781 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.5645, allocations: 75.14 kB / 0.8196 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.5645, allocations: 3.938 kB / 0.8196 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.5645, allocations: 1.969 kB / 0.8196 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5645, allocations: 0 / 0.8196 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.5646, allocations: 62.19 kB / 0.8197 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.565, allocations: 235.7 kB / 0.8199 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.5651, allocations: 63.75 kB / 0.82 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.722e-05/0.5652, allocations: 43.39 kB / 0.82 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.5652, allocations: 0.7031 kB / 0.82 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.5652, allocations: 31.88 kB / 0.82 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.5652, allocations: 0 / 0.82 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003391/0.5656, allocations: 128.4 kB / 0.8202 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.5656, allocations: 57.36 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.85e-05/0.5656, allocations: 108 kB / 0.8203 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.5657, allocations: 25.7 kB / 0.8203 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.5657, allocations: 96.09 kB / 0.8204 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.5657, allocations: 8.516 kB / 0.8204 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.5657, allocations: 13.11 kB / 0.8204 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.5658, allocations: 322.6 kB / 0.8208 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.381e-05/0.5659, allocations: 35.2 kB / 0.8208 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.326e-05/0.566, allocations: 32.75 kB / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.5661, allocations: 69.02 kB / 0.8209 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5661, allocations: 4 kB / 0.8209 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001807/0.5663, allocations: 94.64 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5663, allocations: 5.703 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5663, allocations: 0 / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5664, allocations: 0 / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.089e-05/0.5664, allocations: 15.83 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5665, allocations: 7.062 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.789e-05/0.5665, allocations: 15.55 kB / 0.821 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.5665, allocations: 4.453 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 5.822e-05/0.5666, allocations: 117.9 kB / 0.8211 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.5666, allocations: 3.953 kB / 0.8211 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.5666, allocations: 10.3 kB / 0.8212 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5666, allocations: 0 / 0.8212 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5666, allocations: 3.062 kB / 0.8212 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5666, allocations: 0.5625 kB / 0.8212 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.5667, allocations: 132 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5667, allocations: 4 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.5668, allocations: 14.91 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5668, allocations: 4.312 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.5668, allocations: 0 / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5668, allocations: 0 / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5668, allocations: 0.5156 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.567, allocations: 201.6 kB / 0.8215 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-06/0.567, allocations: 5.984 kB / 0.8215 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.567, allocations: 2.625 kB / 0.8215 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.204e-05/0.5671, allocations: 11.97 kB / 0.8215 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.5671, allocations: 10.56 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.5671, allocations: 5.969 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.519e-05/0.5672, allocations: 87.89 kB / 0.8216 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5672, allocations: 3.938 kB / 0.8216 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001438/0.5673, allocations: 10.59 kB / 0.8216 GB, free: 13.93 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.0004325/0.5677, allocations: 0.7281 MB / 0.8223 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.568, allocations: 70.44 kB / 0.8224 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.568, allocations: 0 / 0.8224 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.083e-05/0.568, allocations: 35.59 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.0002788/0.5683, allocations: 6.375 kB / 0.8224 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.5688, allocations: 165.8 kB / 0.8226 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.549e-05/0.5688, allocations: 63.73 kB / 0.8227 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.522e-05/0.5689, allocations: 1.531 kB / 0.8227 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.5689, allocations: 18.31 kB / 0.8227 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.5689, allocations: 0 / 0.8227 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.5885, allocations: 2.179 MB / 0.8248 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.749/7.338, allocations: 7.578 kB / 0.8248 GB, free: 12.12 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.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_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.34185386588797] Failed to read output from testmodel.py, exit status != 0: 7.416059751994908 7.430624585 6.863876574 Calling exit ...