Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001685/0.001685, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001536/0.001536, allocations: 214.9 kB / 22.99 MB, free: 4.977 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9972/0.9972, allocations: 149.9 MB / 463.1 MB, free: 10.3 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_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",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.002326/0.002326, allocations: 70.83 kB / 0.6411 GB, free: 10.08 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1772, allocations: 89.17 MB / 0.7282 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002658/0.1799, allocations: 1.284 MB / 0.7294 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.181, allocations: 0.545 MB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.181, allocations: 0 / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.181, allocations: 7.922 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.915e-05/0.1811, allocations: 3.938 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.1817, allocations: 143.4 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.154e-05/0.1818, allocations: 31.84 kB / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.1819, allocations: 4 kB / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.1819, allocations: 15.98 kB / 0.7301 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.759e-05/0.1819, allocations: 15.88 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.182, allocations: 0 / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005039/0.1825, allocations: 275.5 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.1825, allocations: 0 / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.1825, allocations: 15.92 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.1828, allocations: 143.8 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.1828, allocations: 0 / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1828, allocations: 0 / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1828, allocations: 0 / 0.7306 GB, free: 14.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005118/0.1833, allocations: 297.9 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.1834, allocations: 16.03 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/0.1834, allocations: 30.75 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.1835, allocations: 8.938 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.1836, allocations: 106.5 kB / 0.731 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1836, allocations: 4.375 kB / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.1837, allocations: 8.125 kB / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1838, allocations: 105 kB / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1838, allocations: 3.953 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1839, allocations: 3.938 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1839, allocations: 7.984 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.048e-05/0.1839, allocations: 19.98 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.1841, allocations: 140.7 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.1843, allocations: 50.56 kB / 0.7313 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.1843, allocations: 36.72 kB / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1844, allocations: 4 kB / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.1844, allocations: 30.56 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1844, allocations: 0 / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001292/0.1857, allocations: 447.8 kB / 0.7318 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1857, allocations: 51.41 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/0.1858, allocations: 93.86 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1859, allocations: 29.7 kB / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.1859, allocations: 80.14 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.186, allocations: 39.64 kB / 0.7321 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.186, allocations: 33.7 kB / 0.7322 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1862, allocations: 318.8 kB / 0.7325 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.358e-05/0.1862, allocations: 20.08 kB / 0.7325 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.412e-05/0.1863, allocations: 27.92 kB / 0.7325 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.1864, allocations: 60.3 kB / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1864, allocations: 8 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001691/0.1866, allocations: 97.64 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1866, allocations: 10.02 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1866, allocations: 0 / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1866, allocations: 4 kB / 0.7327 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1867, allocations: 16 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1867, allocations: 0 / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.1867, allocations: 4 kB / 0.7327 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1868, allocations: 7.984 kB / 0.7327 GB, free: 12.07 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 (13): * Single equations (assignments): 13 * 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 0.0001042/0.1869, allocations: 129.7 kB / 0.7328 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.1869, allocations: 4 kB / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.1871, allocations: 99.53 kB / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1871, allocations: 0 / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1871, allocations: 4 kB / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1871, allocations: 3.984 kB / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.1876, allocations: 321.5 kB / 0.7332 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1876, allocations: 0 / 0.7332 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.1877, allocations: 27.92 kB / 0.7333 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1877, allocations: 0 / 0.7333 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1877, allocations: 4 kB / 0.7333 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1877, allocations: 0 / 0.7333 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1877, allocations: 4 kB / 0.7333 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.188, allocations: 215.4 kB / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.188, allocations: 7.984 kB / 0.7335 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.188, allocations: 0 / 0.7335 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.1881, allocations: 8 kB / 0.7335 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.1881, allocations: 7.922 kB / 0.7335 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.1881, allocations: 4 kB / 0.7335 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.586e-05/0.1882, allocations: 83.28 kB / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1882, allocations: 160 / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002824/0.1885, allocations: 39.86 kB / 0.7336 GB, free: 11.05 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0006811/0.1891, allocations: 0.7796 MB / 0.7344 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000204/0.1893, allocations: 65.28 kB / 0.7344 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1893, allocations: 0 / 0.7344 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.035e-05/0.1894, allocations: 27.98 kB / 0.7345 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.1897, allocations: 7.938 kB / 0.7345 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.1914, allocations: 1.515 MB / 0.736 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.016e-05/0.1915, allocations: 68.28 kB / 0.736 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.844e-05/0.1915, allocations: 11.98 kB / 0.736 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.1916, allocations: 15.44 kB / 0.7361 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.1916, allocations: 0 / 0.7361 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.2239, allocations: 2.558 MB / 0.7385 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.46, allocations: 7.312 kB / 0.7386 GB, free: 6.055 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.268935540691018] Failed to read output from testmodel.py, exit status != 0: 11.568450906779617 11.584392676 11.39830131 Calling exit ...