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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",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="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004667/0.004667, allocations: 98.88 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 190 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.919/0.919, allocations: 143.3 MB / 433.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 55.16 kB / 0.5953 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1459, allocations: 82.04 MB / 0.6754 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002534/0.1485, allocations: 1.479 MB / 0.6769 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1496, allocations: 0.6304 MB / 0.6775 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.1496, allocations: 0 / 0.6775 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.1496, allocations: 3.938 kB / 0.6775 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.766e-05/0.1497, allocations: 11.92 kB / 0.6775 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.1503, allocations: 155.3 kB / 0.6776 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.708e-05/0.1504, allocations: 55.83 kB / 0.6777 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.1504, allocations: 4 kB / 0.6777 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.891e-05/0.1505, allocations: 23.92 kB / 0.6777 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.1505, allocations: 27.89 kB / 0.6777 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1505, allocations: 4 kB / 0.6778 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005443/0.1511, allocations: 347.3 kB / 0.6781 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.1511, allocations: 15.92 kB / 0.6781 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.1512, allocations: 19.92 kB / 0.6781 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.1515, allocations: 187.6 kB / 0.6783 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1515, allocations: 0 / 0.6783 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1515, allocations: 0 / 0.6783 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.1515, allocations: 0 / 0.6783 GB, free: 7.668 MB / 0.5137 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.0006202/0.1521, allocations: 398.9 kB / 0.6787 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1522, allocations: 15.97 kB / 0.6787 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.1522, allocations: 38.73 kB / 0.6787 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.1523, allocations: 8.938 kB / 0.6787 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.1524, allocations: 176.3 kB / 0.6789 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.1524, allocations: 8.375 kB / 0.6789 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.1525, allocations: 4.375 kB / 0.6789 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.1527, allocations: 82.2 kB / 0.679 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.1528, allocations: 7.938 kB / 0.679 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1528, allocations: 0 / 0.679 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1528, allocations: 4 kB / 0.679 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.153, allocations: 43.97 kB / 0.679 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.1536, allocations: 328.6 kB / 0.6794 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.1539, allocations: 82.52 kB / 0.6794 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.1541, allocations: 28.84 kB / 0.6795 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.1541, allocations: 4 kB / 0.6795 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1541, allocations: 38.5 kB / 0.6795 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1541, allocations: 0 / 0.6795 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001729/0.1559, allocations: 0.6538 MB / 0.6801 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.1559, allocations: 51.5 kB / 0.6802 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/0.156, allocations: 113.7 kB / 0.6803 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1561, allocations: 25.7 kB / 0.6803 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.1561, allocations: 88.09 kB / 0.6804 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.1562, allocations: 43.58 kB / 0.6805 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.1562, allocations: 37.7 kB / 0.6805 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1564, allocations: 310.8 kB / 0.6808 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.1565, allocations: 35.97 kB / 0.6808 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.1567, allocations: 27.98 kB / 0.6808 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.1569, allocations: 71.95 kB / 0.6809 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.157, allocations: 0 / 0.6809 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003411/0.1573, allocations: 121.7 kB / 0.681 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1573, allocations: 8 kB / 0.681 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1573, allocations: 0 / 0.681 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1574, allocations: 0 / 0.681 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.1575, allocations: 31.97 kB / 0.6811 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1575, allocations: 3.938 kB / 0.6811 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.1576, allocations: 7.938 kB / 0.6811 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1576, allocations: 4 kB / 0.6811 GB, free: 4.488 MB / 0.5137 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 8.977e-05/0.1577, allocations: 121.8 kB / 0.6812 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.1578, allocations: 11.94 kB / 0.6812 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.1582, allocations: 117.6 kB / 0.6813 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1582, allocations: 0 / 0.6813 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1582, allocations: 3.938 kB / 0.6813 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1582, allocations: 4 kB / 0.6813 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/0.1588, allocations: 390.4 kB / 0.6817 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1589, allocations: 0 / 0.6817 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.159, allocations: 23.98 kB / 0.6817 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.159, allocations: 11.88 kB / 0.6817 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.159, allocations: 0 / 0.6817 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.1591, allocations: 7.984 kB / 0.6817 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1591, allocations: 0 / 0.6817 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005521/0.1596, allocations: 255.3 kB / 0.682 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.1597, allocations: 85.09 kB / 0.6821 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.1597, allocations: 3.938 kB / 0.6821 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.1598, allocations: 8 kB / 0.6821 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.1599, allocations: 7.984 kB / 0.6821 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1599, allocations: 4 kB / 0.6821 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.1599, allocations: 87.27 kB / 0.6822 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1599, allocations: 0 / 0.6822 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002765/0.1602, allocations: 39.94 kB / 0.6822 GB, free: 3.219 MB / 0.5137 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.000955/0.1612, allocations: 0.8137 MB / 0.683 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.1615, allocations: 84.56 kB / 0.6831 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1615, allocations: 0 / 0.6831 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.1617, allocations: 47.91 kB / 0.6831 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.162, allocations: 8.219 kB / 0.6831 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.1642, allocations: 1.613 MB / 0.6847 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.1646, allocations: 0.6924 MB / 0.6854 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.736e-05/0.1647, allocations: 12.61 kB / 0.6854 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.1647, allocations: 27.42 kB / 0.6854 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.1647, allocations: 0 / 0.6854 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.189, allocations: 2.358 MB / 0.6877 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.695/8.884, allocations: 9.438 kB / 0.6877 GB, free: 13.63 MB / 0.5294 GB (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 --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)