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.001488/0.001488, 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.001612/0.001612, allocations: 215.6 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.004/1.004, allocations: 149.9 MB / 463.1 MB, free: 10.36 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="me",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="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.002129/0.002129, allocations: 70.92 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1764, allocations: 89.18 MB / 0.7282 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002545/0.1789, allocations: 1.287 MB / 0.7294 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.18, allocations: 0.541 MB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.725e-05/0.18, allocations: 0 / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.18, allocations: 3.938 kB / 0.73 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.321e-05/0.1801, allocations: 4 kB / 0.73 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.1807, allocations: 143.4 kB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.938e-05/0.1807, allocations: 27.86 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.1808, allocations: 0 / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.906e-05/0.1808, allocations: 7.938 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.045e-05/0.1809, allocations: 11.97 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.1809, allocations: 0 / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004336/0.1813, allocations: 267.5 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.1813, allocations: 3.938 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.1813, allocations: 15.97 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.1816, allocations: 135.8 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1816, allocations: 0 / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1816, allocations: 0 / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.1816, allocations: 0 / 0.7305 GB, free: 14.6 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.0004281/0.182, allocations: 290 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1821, allocations: 8.031 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.1821, allocations: 30.75 kB / 0.7309 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.1822, allocations: 8.922 kB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1823, allocations: 102.5 kB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.1823, allocations: 4.375 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.1823, allocations: 8.125 kB / 0.731 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.1824, allocations: 71.38 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1824, allocations: 0 / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.1824, allocations: 0 / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1824, allocations: 0 / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.264e-05/0.1825, allocations: 11.94 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.1827, allocations: 144.5 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.1828, allocations: 42.61 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.1829, allocations: 20.8 kB / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.1829, allocations: 8.078 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.1829, allocations: 30.56 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1829, allocations: 4 kB / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0005819/0.1835, allocations: 233.1 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1835, allocations: 51.41 kB / 0.7316 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.257e-05/0.1836, allocations: 97.84 kB / 0.7317 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1836, allocations: 25.7 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.1837, allocations: 88.14 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.1837, allocations: 15.8 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.1837, allocations: 21.72 kB / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1839, allocations: 322.8 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.1839, allocations: 8 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.1839, allocations: 11.98 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/0.184, allocations: 32.92 kB / 0.7322 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.184, allocations: 7.938 kB / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001042/0.1841, allocations: 65.62 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1841, allocations: 6.031 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1841, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1841, allocations: 4 kB / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.1842, allocations: 8 kB / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1842, allocations: 0 / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.1842, allocations: 8 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1842, allocations: 4 kB / 0.7323 GB, free: 12.61 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.404e-05/0.1843, allocations: 113.8 kB / 0.7324 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.1843, allocations: 7.953 kB / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.1845, allocations: 73.69 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1845, allocations: 0.5156 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1845, allocations: 4 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1845, allocations: 0 / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.1848, allocations: 286.4 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1848, allocations: 4.031 kB / 0.7327 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/0.1849, allocations: 15.98 kB / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1849, allocations: 0 / 0.7327 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1849, allocations: 7.922 kB / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1849, allocations: 0 / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1849, allocations: 4 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.1851, allocations: 176.3 kB / 0.7329 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.1851, allocations: 15.91 kB / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1851, allocations: 4.188 kB / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.1852, allocations: 8 kB / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.1852, allocations: 3.984 kB / 0.733 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.1853, allocations: 12 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.1853, allocations: 75.28 kB / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1853, allocations: 4 kB / 0.733 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002493/0.1855, allocations: 19.94 kB / 0.7331 GB, free: 11.7 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.0005657/0.1861, allocations: 0.7288 MB / 0.7338 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.1862, allocations: 27.98 kB / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1862, allocations: 4 kB / 0.7338 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.172e-05/0.1862, allocations: 15.94 kB / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.1865, allocations: 12.06 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.1878, allocations: 1.319 MB / 0.7351 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.391e-05/0.1879, allocations: 71.34 kB / 0.7352 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.1879, allocations: 8.062 kB / 0.7352 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.1879, allocations: 15.42 kB / 0.7352 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.1879, allocations: 0 / 0.7352 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.218, allocations: 2.115 MB / 0.7373 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.47, allocations: 14.88 kB / 0.7373 GB, free: 7.434 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 os._exit(0), Time elapsed: 15.234982420224696] Failed to read output from testmodel.py, exit status != 0: 11.57885379390791 11.603182973 11.41707771 Calling exit ...