Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001289/0.001289, allocations: 105 kB / 20.48 MB, free: 1.488 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.001495/0.001495, allocations: 215.9 kB / 23.79 MB, free: 4.703 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.426/1.426, allocations: 230.6 MB / 257.6 MB, free: 7.992 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 1.028/1.028, allocations: 150 MB / 464 MB, free: 10.46 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_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.002065/0.002065, allocations: 66.23 kB / 0.642 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1738, allocations: 89.17 MB / 0.7291 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002396/0.1762, allocations: 1.288 MB / 0.7304 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1772, allocations: 0.6149 MB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.1772, allocations: 0 / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.215e-05/0.1773, allocations: 3.938 kB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.032e-05/0.1773, allocations: 0 / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.1778, allocations: 151.4 kB / 0.7311 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.207e-05/0.1779, allocations: 19.88 kB / 0.7311 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.1779, allocations: 4 kB / 0.7311 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.178, allocations: 11.92 kB / 0.7312 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.159e-05/0.178, allocations: 11.98 kB / 0.7312 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.178, allocations: 0 / 0.7312 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005182/0.1785, allocations: 339.4 kB / 0.7315 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.789e-06/0.1785, allocations: 7.875 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.1786, allocations: 15.92 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.1788, allocations: 143.9 kB / 0.7317 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1788, allocations: 0 / 0.7317 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1788, allocations: 0 / 0.7317 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.1788, allocations: 0 / 0.7317 GB, free: 14.65 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.0004201/0.1793, allocations: 289.9 kB / 0.7319 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1793, allocations: 12.03 kB / 0.7319 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.631e-05/0.1793, allocations: 4.125 kB / 0.7319 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.1794, allocations: 34.75 kB / 0.732 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.1794, allocations: 0.9375 kB / 0.732 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1795, allocations: 118.5 kB / 0.7321 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.1795, allocations: 384 / 0.7321 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1795, allocations: 7.938 kB / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1796, allocations: 33.7 kB / 0.7321 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1796, allocations: 7.969 kB / 0.7321 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1797, allocations: 4 kB / 0.7321 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1797, allocations: 0 / 0.7321 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.91e-05/0.1797, allocations: 8 kB / 0.7322 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.1799, allocations: 136.6 kB / 0.7323 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.1801, allocations: 46.55 kB / 0.7323 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/0.1801, allocations: 16.95 kB / 0.7323 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.1801, allocations: 7.984 kB / 0.7324 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1801, allocations: 34.56 kB / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1801, allocations: 0 / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0005946/0.1807, allocations: 229.2 kB / 0.7326 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1808, allocations: 59.34 kB / 0.7327 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.192e-05/0.1809, allocations: 101.8 kB / 0.7328 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1809, allocations: 25.7 kB / 0.7328 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.1809, allocations: 80.14 kB / 0.7329 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.1809, allocations: 23.8 kB / 0.7329 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.181, allocations: 21.7 kB / 0.7329 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1811, allocations: 310.8 kB / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.889e-05/0.1811, allocations: 16 kB / 0.7332 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.559e-05/0.1812, allocations: 15.98 kB / 0.7332 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.103e-05/0.1812, allocations: 28.8 kB / 0.7333 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1812, allocations: 0 / 0.7333 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000104/0.1813, allocations: 65.69 kB / 0.7333 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1813, allocations: 7.938 kB / 0.7333 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1813, allocations: 4 kB / 0.7333 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1814, allocations: 3.938 kB / 0.7333 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.1814, allocations: 8 kB / 0.7333 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1814, allocations: 7.938 kB / 0.7333 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.1814, allocations: 0 / 0.7333 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.1814, allocations: 4 kB / 0.7334 GB, free: 12.69 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.059e-05/0.1815, allocations: 117.8 kB / 0.7335 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.1815, allocations: 7.953 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.1817, allocations: 69.69 kB / 0.7335 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1817, allocations: 0 / 0.7335 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1817, allocations: 0 / 0.7335 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1817, allocations: 4.516 kB / 0.7335 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.182, allocations: 294.7 kB / 0.7338 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.182, allocations: 4 kB / 0.7338 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.1821, allocations: 11.94 kB / 0.7338 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1821, allocations: 4 kB / 0.7338 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1821, allocations: 0 / 0.7338 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1821, allocations: 0 / 0.7338 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1821, allocations: 0 / 0.7338 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.1823, allocations: 184.4 kB / 0.734 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.1823, allocations: 11.97 kB / 0.734 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.1823, allocations: 0 / 0.734 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.1824, allocations: 7.984 kB / 0.734 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.1824, allocations: 11.88 kB / 0.734 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.1824, allocations: 0 / 0.734 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.1825, allocations: 79.28 kB / 0.7341 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1825, allocations: 0 / 0.7341 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002516/0.1827, allocations: 31.98 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 (dp_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.0005798/0.1833, allocations: 0.7213 MB / 0.7349 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.1834, allocations: 35.91 kB / 0.7349 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1834, allocations: 0 / 0.7349 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.357e-05/0.1834, allocations: 27.98 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.0002307/0.1837, allocations: 7.938 kB / 0.7349 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.1851, allocations: 1.335 MB / 0.7362 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1854, allocations: 0.6807 MB / 0.7369 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.549e-05/0.1854, allocations: 4 kB / 0.7369 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.1855, allocations: 7.438 kB / 0.7369 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.1855, allocations: 4 kB / 0.7369 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.2087, allocations: 1.761 MB / 0.7386 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.57, allocations: 14.59 kB / 0.7386 GB, free: 7.238 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.361423083988484] Failed to read output from testmodel.py, exit status != 0: 11.732998019026127 11.760412541 11.576327535 Calling exit ...