Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001241/0.001241, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.00128/0.00128, allocations: 215 kB / 20.13 MB, free: 2.949 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.522/1.522, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9668/0.9668, allocations: 145 MB / 454.5 MB, free: 10.03 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_m_flow_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.001902/0.001902, allocations: 70.61 kB / 0.6287 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1651, allocations: 87.83 MB / 0.7145 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002896/0.168, allocations: 1.489 MB / 0.7159 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1692, allocations: 0.6343 MB / 0.7166 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.1693, allocations: 4 kB / 0.7166 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.1693, allocations: 3.938 kB / 0.7166 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.108e-05/0.1694, allocations: 7.922 kB / 0.7166 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.1701, allocations: 159.4 kB / 0.7167 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.1702, allocations: 55.53 kB / 0.7168 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.1702, allocations: 8 kB / 0.7168 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.537e-05/0.1703, allocations: 23.92 kB / 0.7168 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/0.1704, allocations: 27.91 kB / 0.7168 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1704, allocations: 4 kB / 0.7168 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005412/0.1709, allocations: 347.3 kB / 0.7172 GB, free: 9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.171, allocations: 11.92 kB / 0.7172 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.171, allocations: 23.88 kB / 0.7172 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.1713, allocations: 179.6 kB / 0.7174 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1713, allocations: 4 kB / 0.7174 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1713, allocations: 0 / 0.7174 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1713, allocations: 4 kB / 0.7174 GB, free: 8.781 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006873/0.172, allocations: 403.8 kB / 0.7178 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1721, allocations: 8.031 kB / 0.7178 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.929e-05/0.1721, allocations: 192 / 0.7178 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.1721, allocations: 38.75 kB / 0.7178 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.1722, allocations: 8.891 kB / 0.7178 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.1723, allocations: 168.3 kB / 0.718 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.1723, allocations: 8.375 kB / 0.718 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.1724, allocations: 12.31 kB / 0.718 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.1726, allocations: 81.97 kB / 0.7181 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1726, allocations: 4 kB / 0.7181 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1726, allocations: 4 kB / 0.7181 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1726, allocations: 0 / 0.7181 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.1729, allocations: 51.2 kB / 0.7181 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.1735, allocations: 324.7 kB / 0.7184 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.1738, allocations: 74.53 kB / 0.7185 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.1739, allocations: 32.84 kB / 0.7186 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1739, allocations: 7.922 kB / 0.7186 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.174, allocations: 38.55 kB / 0.7186 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.174, allocations: 0 / 0.7186 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001815/0.1758, allocations: 0.6536 MB / 0.7192 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.1759, allocations: 55.34 kB / 0.7193 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.426e-05/0.1759, allocations: 101.9 kB / 0.7194 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.176, allocations: 25.7 kB / 0.7194 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.636e-05/0.176, allocations: 92.06 kB / 0.7195 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.1761, allocations: 35.66 kB / 0.7195 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.1761, allocations: 33.7 kB / 0.7196 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1763, allocations: 322.8 kB / 0.7199 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.1764, allocations: 31.98 kB / 0.7199 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.1765, allocations: 31.91 kB / 0.7199 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.1768, allocations: 76.83 kB / 0.72 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1768, allocations: 0 / 0.72 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003498/0.1772, allocations: 125.7 kB / 0.7201 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1772, allocations: 8 kB / 0.7201 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1772, allocations: 0 / 0.7201 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.1772, allocations: 0 / 0.7201 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.1774, allocations: 23.98 kB / 0.7202 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1774, allocations: 3.938 kB / 0.7202 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.978e-05/0.1774, allocations: 7.984 kB / 0.7202 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1774, allocations: 8 kB / 0.7202 GB, free: 5.605 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.608e-05/0.1775, allocations: 117.8 kB / 0.7203 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.1776, allocations: 4 kB / 0.7203 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.178, allocations: 133.4 kB / 0.7204 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.178, allocations: 3.938 kB / 0.7204 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.178, allocations: 7.938 kB / 0.7204 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.178, allocations: 0 / 0.7204 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006187/0.1786, allocations: 374.7 kB / 0.7208 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1786, allocations: 4 kB / 0.7208 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.1788, allocations: 27.97 kB / 0.7208 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.1788, allocations: 7.938 kB / 0.7208 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1788, allocations: 4 kB / 0.7208 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1788, allocations: 0 / 0.7208 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1788, allocations: 0 / 0.7208 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.1794, allocations: 259.4 kB / 0.7211 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/0.1794, allocations: 85.08 kB / 0.7212 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.1794, allocations: 0 / 0.7212 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1796, allocations: 7.984 kB / 0.7212 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.1796, allocations: 11.98 kB / 0.7212 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1796, allocations: 4 kB / 0.7212 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.583e-05/0.1796, allocations: 79.28 kB / 0.7213 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1796, allocations: 0 / 0.7213 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002831/0.1799, allocations: 35.88 kB / 0.7213 GB, free: 4.352 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0009677/0.1809, allocations: 0.8258 MB / 0.7221 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003358/0.1812, allocations: 74.83 kB / 0.7222 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1812, allocations: 4.062 kB / 0.7222 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.1814, allocations: 47.91 kB / 0.7222 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.1817, allocations: 14.56 kB / 0.7222 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.1839, allocations: 1.604 MB / 0.7238 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1842, allocations: 0.6924 MB / 0.7245 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.018e-05/0.1842, allocations: 20.59 kB / 0.7245 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.1843, allocations: 21.41 kB / 0.7245 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of SimCode: time 3.9e-07/0.1843, allocations: 0 / 0.7245 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.205, allocations: 2.428 MB / 0.7269 GB, free: 14.72 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.375/8.58, allocations: 8.688 kB / 0.7269 GB, free: 14.71 MB / 0.545 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.491245825018268] Failed to read output from testmodel.py, exit status != 0: 8.70581268001115 8.725812503 8.550745786 Calling exit ...