Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.001272/0.001272, allocations: 109 kB / 20.48 MB, free: 1.473 MB / 14.72 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.001387/0.001387, allocations: 211.5 kB / 23.79 MB, free: 4.684 MB / 14.72 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.472/1.472, allocations: 230.6 MB / 257.6 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.9914/0.9914, allocations: 150 MB / 464 MB, free: 10.47 MB / 366.1 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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001972/0.001972, allocations: 62.61 kB / 0.642 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1717, allocations: 89.18 MB / 0.7291 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002394/0.1741, allocations: 1.296 MB / 0.7304 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1752, allocations: 0.6033 MB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.239e-05/0.1752, allocations: 0 / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.1752, allocations: 4 kB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.1752, allocations: 11.92 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005697/0.1758, allocations: 147.4 kB / 0.7311 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.015e-05/0.1759, allocations: 19.92 kB / 0.7311 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.1759, allocations: 0 / 0.7311 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.917e-05/0.176, allocations: 11.94 kB / 0.7312 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.176, allocations: 7.969 kB / 0.7312 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.176, allocations: 4 kB / 0.7312 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.1766, allocations: 343.3 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.1766, allocations: 3.938 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.1766, allocations: 11.98 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.1769, allocations: 147.8 kB / 0.7317 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1769, allocations: 0 / 0.7317 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1769, allocations: 0 / 0.7317 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.1769, allocations: 4 kB / 0.7317 GB, free: 14.64 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004005/0.1773, allocations: 285.9 kB / 0.7319 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1773, allocations: 11.97 kB / 0.7319 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.441e-05/0.1773, allocations: 4.188 kB / 0.7319 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.875e-05/0.1773, allocations: 34.73 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.1774, allocations: 8.938 kB / 0.732 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1775, allocations: 106.5 kB / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.1775, allocations: 4.375 kB / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1775, allocations: 3.938 kB / 0.7321 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.1776, allocations: 41.69 kB / 0.7321 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1777, allocations: 0 / 0.7321 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1777, allocations: 0 / 0.7321 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1777, allocations: 0 / 0.7321 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.197e-05/0.1777, allocations: 19.94 kB / 0.7322 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.1779, allocations: 128.7 kB / 0.7323 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1781, allocations: 42.55 kB / 0.7323 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.1781, allocations: 20.94 kB / 0.7323 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.1781, allocations: 0 / 0.7323 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.1782, allocations: 38.56 kB / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1782, allocations: 0 / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.000602/0.1788, allocations: 225.2 kB / 0.7326 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1788, allocations: 59.33 kB / 0.7326 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.462e-05/0.1789, allocations: 98.19 kB / 0.7327 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1789, allocations: 25.7 kB / 0.7328 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.1789, allocations: 80.14 kB / 0.7328 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.179, allocations: 27.78 kB / 0.7329 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.179, allocations: 21.72 kB / 0.7329 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1792, allocations: 314.8 kB / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.652e-05/0.1792, allocations: 11.98 kB / 0.7332 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.273e-05/0.1792, allocations: 12 kB / 0.7332 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.336e-05/0.1793, allocations: 36.8 kB / 0.7332 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1793, allocations: 64 / 0.7332 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001058/0.1794, allocations: 69.81 kB / 0.7333 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1794, allocations: 4 kB / 0.7333 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1794, allocations: 0 / 0.7333 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1794, allocations: 7.984 kB / 0.7333 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.6e-05/0.1795, allocations: 19.92 kB / 0.7333 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1795, allocations: 240 / 0.7333 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.1795, allocations: 0 / 0.7333 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-06/0.1795, allocations: 3.938 kB / 0.7333 GB, free: 12.68 MB / 0.5606 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 (7): * Single equations (assignments): 7 * 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 8.627e-05/0.1796, allocations: 121.8 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.1796, allocations: 3.953 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.1797, allocations: 81.66 kB / 0.7335 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1797, allocations: 4 kB / 0.7335 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1798, allocations: 0 / 0.7335 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1798, allocations: 0 / 0.7335 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.1801, allocations: 290.4 kB / 0.7338 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1801, allocations: 0 / 0.7338 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.471e-05/0.1802, allocations: 12 kB / 0.7338 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1802, allocations: 3.984 kB / 0.7338 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.1802, allocations: 0 / 0.7338 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1802, allocations: 4 kB / 0.7338 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1802, allocations: 0 / 0.7338 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.1804, allocations: 176.4 kB / 0.734 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.1804, allocations: 11.97 kB / 0.734 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.1804, allocations: 0 / 0.734 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.1805, allocations: 12.12 kB / 0.734 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.1805, allocations: 11.92 kB / 0.734 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1805, allocations: 4 kB / 0.7341 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.975e-05/0.1806, allocations: 79.34 kB / 0.7341 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1806, allocations: 0 / 0.7341 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002458/0.1808, allocations: 23.94 kB / 0.7342 GB, free: 11.77 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * 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.0005358/0.1813, allocations: 0.7211 MB / 0.7349 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.1814, allocations: 39.98 kB / 0.7349 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1814, allocations: 0 / 0.7349 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.1815, allocations: 19.94 kB / 0.7349 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.1817, allocations: 7.109 kB / 0.7349 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.183, allocations: 1.331 MB / 0.7362 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1833, allocations: 0.6807 MB / 0.7369 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.1833, allocations: 4 kB / 0.7369 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.1834, allocations: 15.42 kB / 0.7369 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of SimCode: time 7.02e-07/0.1834, allocations: 0 / 0.7369 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.2068, allocations: 1.746 MB / 0.7386 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.24, allocations: 12.16 kB / 0.7386 GB, free: 7.246 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.143289307015948] Failed to read output from testmodel.py, exit status != 0: 11.405938723997679 11.432331748 11.250369522 Calling exit ...