Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001508/0.001508, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001638/0.001638, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.511/1.511, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9337/0.9337, allocations: 144.9 MB / 454.5 MB, free: 9.996 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002177/0.002177, allocations: 60.16 kB / 0.6287 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1716, allocations: 87.84 MB / 0.7145 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003123/0.1747, allocations: 1.291 MB / 0.7157 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1761, allocations: 0.6231 MB / 0.7164 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.1761, allocations: 0 / 0.7164 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.1761, allocations: 3.938 kB / 0.7164 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.871e-05/0.1762, allocations: 7.969 kB / 0.7164 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.177, allocations: 150 kB / 0.7165 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.319e-05/0.1771, allocations: 35.84 kB / 0.7165 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.599e-05/0.1771, allocations: 0.8438 kB / 0.7165 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.1772, allocations: 19.92 kB / 0.7166 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.1772, allocations: 11.98 kB / 0.7166 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.1772, allocations: 0 / 0.7166 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005926/0.1778, allocations: 351.2 kB / 0.7169 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.1778, allocations: 4 kB / 0.7169 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.1779, allocations: 15.88 kB / 0.7169 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.1782, allocations: 159.8 kB / 0.7171 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1782, allocations: 0 / 0.7171 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1782, allocations: 0 / 0.7171 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.1782, allocations: 0 / 0.7171 GB, free: 9.047 MB / 0.5294 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.0005613/0.1788, allocations: 367.1 kB / 0.7174 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.1788, allocations: 11.97 kB / 0.7174 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.574e-05/0.1789, allocations: 192 / 0.7174 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.1789, allocations: 34.75 kB / 0.7175 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.1789, allocations: 4.891 kB / 0.7175 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.1791, allocations: 180.3 kB / 0.7177 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1791, allocations: 384 / 0.7177 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.1791, allocations: 4.375 kB / 0.7177 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1793, allocations: 54 kB / 0.7177 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1793, allocations: 0 / 0.7177 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1793, allocations: 0 / 0.7177 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1793, allocations: 0 / 0.7177 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.861e-05/0.1794, allocations: 23.92 kB / 0.7177 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.1796, allocations: 165.7 kB / 0.7179 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.1798, allocations: 62.55 kB / 0.7179 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/0.1798, allocations: 24.86 kB / 0.718 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1799, allocations: 0 / 0.718 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.1799, allocations: 42.42 kB / 0.718 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.1799, allocations: 4 kB / 0.718 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.00142/0.1813, allocations: 0.5879 MB / 0.7186 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.1814, allocations: 55.41 kB / 0.7186 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/0.1815, allocations: 93.86 kB / 0.7187 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.1815, allocations: 29.7 kB / 0.7188 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.1815, allocations: 80.14 kB / 0.7188 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.1816, allocations: 47.7 kB / 0.7189 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.1816, allocations: 25.72 kB / 0.7189 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1818, allocations: 322.8 kB / 0.7192 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.097e-05/0.1819, allocations: 19.98 kB / 0.7192 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.105e-05/0.1819, allocations: 20 kB / 0.7193 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.182, allocations: 56.84 kB / 0.7193 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.182, allocations: 4.094 kB / 0.7193 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001813/0.1822, allocations: 103.5 kB / 0.7194 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1822, allocations: 13.72 kB / 0.7194 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1822, allocations: 0 / 0.7194 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1823, allocations: 0 / 0.7194 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1824, allocations: 19.98 kB / 0.7194 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1824, allocations: 4 kB / 0.7194 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.694e-05/0.1824, allocations: 4 kB / 0.7194 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1824, allocations: 4 kB / 0.7195 GB, free: 6.297 MB / 0.5294 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 9.7e-05/0.1825, allocations: 113.8 kB / 0.7196 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.1825, allocations: 7.953 kB / 0.7196 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.1828, allocations: 109.5 kB / 0.7197 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1828, allocations: 4 kB / 0.7197 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1828, allocations: 0 / 0.7197 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1828, allocations: 3.984 kB / 0.7197 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.1833, allocations: 358.5 kB / 0.72 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1833, allocations: 0 / 0.72 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.1834, allocations: 19.98 kB / 0.72 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1834, allocations: 0 / 0.72 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1834, allocations: 0 / 0.72 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1834, allocations: 4 kB / 0.72 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1834, allocations: 4 kB / 0.72 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.1837, allocations: 223.6 kB / 0.7203 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.1838, allocations: 89.08 kB / 0.7203 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1838, allocations: 4 kB / 0.7204 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.1839, allocations: 0 / 0.7204 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.1839, allocations: 7.984 kB / 0.7204 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.1839, allocations: 4 kB / 0.7204 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.556e-05/0.1839, allocations: 91.28 kB / 0.7205 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1839, allocations: 0 / 0.7205 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002814/0.1842, allocations: 35.81 kB / 0.7205 GB, free: 5.133 MB / 0.5294 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.0007273/0.1849, allocations: 0.7787 MB / 0.7212 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.1851, allocations: 60.12 kB / 0.7213 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1851, allocations: 4 kB / 0.7213 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.741e-05/0.1852, allocations: 39.86 kB / 0.7213 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.1854, allocations: 8.219 kB / 0.7214 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.1871, allocations: 1.509 MB / 0.7228 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1875, allocations: 0.6845 MB / 0.7235 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.757e-05/0.1875, allocations: 12.06 kB / 0.7235 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.1876, allocations: 23.42 kB / 0.7235 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1876, allocations: 0 / 0.7235 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.2086, allocations: 2.158 MB / 0.7256 GB, free: 15.94 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.356/8.564, allocations: 9.875 kB / 0.7256 GB, free: 15.93 MB / 0.545 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.504733879992273] Failed to read output from testmodel.py, exit status != 0: 8.693098264979199 8.716628292 8.533940155 Calling exit ...