Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0007777/0.0007777, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009711/0.0009711, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9/0.9, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5619/0.5619, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5543 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.529e-05, allocations: 6.281 kB / 0.5543 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001189/0.001204, allocations: 0.6753 MB / 0.5549 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008736/0.002078, allocations: 0.8316 MB / 0.5557 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.002111, allocations: 0 / 0.5557 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.002139, allocations: 3.938 kB / 0.5557 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.839e-05/0.002197, allocations: 7.875 kB / 0.5557 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 5.907e-05/0.002256, allocations: 11.98 kB / 0.5558 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.299e-05/0.002329, allocations: 47.84 kB / 0.5558 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.002428, allocations: 7.984 kB / 0.5558 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.153e-05/0.0025, allocations: 27.97 kB / 0.5558 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.386e-05/0.002533, allocations: 15.92 kB / 0.5559 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.002555, allocations: 8 kB / 0.5559 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-06/0.002562, allocations: 4 kB / 0.5559 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.002576, allocations: 4 kB / 0.5559 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.0026, allocations: 15.92 kB / 0.5559 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 8.024e-05/0.00268, allocations: 39.86 kB / 0.5559 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.002683, allocations: 4 kB / 0.5559 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.164e-06/0.002686, allocations: 3.984 kB / 0.5559 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.00269, allocations: 0 / 0.5559 GB, free: 0.9805 MB / 0.5105 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.0003566/0.003047, allocations: 278.3 kB / 0.5562 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.003087, allocations: 16.62 kB / 0.5562 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.775e-05/0.003114, allocations: 30.75 kB / 0.5562 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.867e-05/0.003133, allocations: 4.891 kB / 0.5562 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.573e-05/0.003219, allocations: 117.7 kB / 0.5564 GB, free: 488 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.00323, allocations: 4.375 kB / 0.5564 GB, free: 484 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.003238, allocations: 384 / 0.5564 GB, free: 484 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.003403, allocations: 78.09 kB / 0.5564 GB, free: 400 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.003411, allocations: 192 / 0.5564 GB, free: 400 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.00342, allocations: 4.375 kB / 0.5564 GB, free: 396 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.003425, allocations: 12.06 kB / 0.5565 GB, free: 384 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.00357, allocations: 63.92 kB / 0.5565 GB, free: 320 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.003854, allocations: 224 kB / 0.5567 GB, free: 52 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.00398, allocations: 66.45 kB / 0.5568 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.883e-05/0.004059, allocations: 40.92 kB / 0.5568 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.004072, allocations: 3.938 kB / 0.5568 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.004091, allocations: 34.55 kB / 0.5569 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.004092, allocations: 0 / 0.5569 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002981/0.00439, allocations: 121.6 kB / 0.557 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.00442, allocations: 59.41 kB / 0.557 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.095e-05/0.004481, allocations: 113.8 kB / 0.5571 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.004491, allocations: 25.7 kB / 0.5572 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.004525, allocations: 92.09 kB / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.004541, allocations: 7.938 kB / 0.5573 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.004567, allocations: 13.72 kB / 0.5573 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.004641, allocations: 314.8 kB / 0.5576 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.004713, allocations: 35.95 kB / 0.5576 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.537e-05/0.004779, allocations: 31.97 kB / 0.5576 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.004911, allocations: 68.78 kB / 0.5577 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.004912, allocations: 0 / 0.5577 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001587/0.005071, allocations: 105.5 kB / 0.5578 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.005083, allocations: 4 kB / 0.5578 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.005087, allocations: 3.938 kB / 0.5578 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.005097, allocations: 0 / 0.5578 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.453e-05/0.005172, allocations: 19.97 kB / 0.5578 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.005176, allocations: 0 / 0.5578 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.005211, allocations: 11.98 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.005217, allocations: 0 / 0.5578 GB, free: 14.82 MB / 0.5261 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.53e-05/0.005272, allocations: 109.8 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.005286, allocations: 11.94 kB / 0.558 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.621e-05/0.005302, allocations: 4 kB / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.005304, allocations: 0 / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.005307, allocations: 0 / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.00531, allocations: 4 kB / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.005416, allocations: 136.7 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.005417, allocations: 0 / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.005455, allocations: 19.86 kB / 0.5581 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.005456, allocations: 0 / 0.5581 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.005464, allocations: 4 kB / 0.5581 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.005465, allocations: 7.938 kB / 0.5581 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.005466, allocations: 0 / 0.5581 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.005671, allocations: 203.7 kB / 0.5583 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.005679, allocations: 7.938 kB / 0.5583 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-06/0.005688, allocations: 48 / 0.5583 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.059e-05/0.005738, allocations: 15.97 kB / 0.5584 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.005771, allocations: 3.984 kB / 0.5584 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.005773, allocations: 4 kB / 0.5584 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.005805, allocations: 95.56 kB / 0.5584 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.1e-08/0.005805, allocations: 0 / 0.5584 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001413/0.005947, allocations: 7.938 kB / 0.5585 GB, free: 14.12 MB / 0.5261 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.0003655/0.006312, allocations: 0.7318 MB / 0.5592 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.006494, allocations: 71.92 kB / 0.5592 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.006495, allocations: 0 / 0.5592 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.33e-05/0.006569, allocations: 35.95 kB / 0.5593 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.006776, allocations: 8 kB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.007124, allocations: 146.6 kB / 0.5594 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.13e-05/0.007175, allocations: 67.28 kB / 0.5595 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.374e-05/0.007199, allocations: 3.938 kB / 0.5595 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.007239, allocations: 20.5 kB / 0.5595 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/0.00724, allocations: 0 / 0.5595 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0135/0.02074, allocations: 2.315 MB / 0.5618 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.795/6.816, allocations: 4 kB / 0.5618 GB, free: 10.79 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.262149815447628] Failed to read output from testmodel.py, exit status != 0: 6.897365154698491 6.910017688 6.905330076 Calling exit ...