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.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_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",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="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.003913/0.003913, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001113/0.001113, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.8127/0.8127, allocations: 143.3 MB / 433.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 63.7 kB / 0.5953 GB, free: 12.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1435, allocations: 82.04 MB / 0.6754 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002299/0.1459, allocations: 1.289 MB / 0.6767 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.147, allocations: 0.6113 MB / 0.6773 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.364e-05/0.147, allocations: 0 / 0.6773 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.147, allocations: 7.938 kB / 0.6773 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.827e-05/0.1471, allocations: 0 / 0.6773 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.1476, allocations: 155.3 kB / 0.6774 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.1477, allocations: 35.84 kB / 0.6775 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.1477, allocations: 0 / 0.6775 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.349e-05/0.1478, allocations: 8 kB / 0.6775 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.315e-05/0.1478, allocations: 19.86 kB / 0.6775 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.1479, allocations: 0 / 0.6775 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005675/0.1484, allocations: 347.3 kB / 0.6778 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.1485, allocations: 4 kB / 0.6778 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.1485, allocations: 19.91 kB / 0.6778 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.1488, allocations: 139.9 kB / 0.678 GB, free: 8 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1488, allocations: 7.938 kB / 0.678 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1488, allocations: 4 kB / 0.678 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.1488, allocations: 0 / 0.678 GB, free: 7.988 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004444/0.1492, allocations: 379 kB / 0.6784 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1493, allocations: 8.031 kB / 0.6784 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.687e-05/0.1493, allocations: 38.73 kB / 0.6784 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.1494, allocations: 4.938 kB / 0.6784 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1495, allocations: 164.3 kB / 0.6786 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1496, allocations: 4.375 kB / 0.6786 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.1496, allocations: 384 / 0.6786 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.1497, allocations: 58.23 kB / 0.6786 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1497, allocations: 3.938 kB / 0.6786 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.1497, allocations: 0 / 0.6786 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1497, allocations: 4 kB / 0.6786 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.313e-05/0.1498, allocations: 19.92 kB / 0.6786 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.15, allocations: 169.6 kB / 0.6788 GB, free: 7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1501, allocations: 58.56 kB / 0.6789 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.1502, allocations: 32.84 kB / 0.6789 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.1502, allocations: 3.984 kB / 0.6789 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.1503, allocations: 34.56 kB / 0.6789 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1503, allocations: 0 / 0.6789 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.00138/0.1516, allocations: 0.5954 MB / 0.6795 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.1517, allocations: 51.41 kB / 0.6796 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.1518, allocations: 97.86 kB / 0.6797 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1518, allocations: 25.7 kB / 0.6797 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.1519, allocations: 80.14 kB / 0.6798 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.1519, allocations: 43.62 kB / 0.6798 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.152, allocations: 25.7 kB / 0.6798 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1521, allocations: 327 kB / 0.6801 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.435e-05/0.1522, allocations: 24.08 kB / 0.6802 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/0.1522, allocations: 23.92 kB / 0.6802 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.1523, allocations: 59.98 kB / 0.6802 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1523, allocations: 0 / 0.6802 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001567/0.1525, allocations: 97.52 kB / 0.6803 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1525, allocations: 8 kB / 0.6803 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.1525, allocations: 0 / 0.6803 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1525, allocations: 3.984 kB / 0.6803 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1527, allocations: 24 kB / 0.6804 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1527, allocations: 7.938 kB / 0.6804 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.1527, allocations: 0 / 0.6804 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1527, allocations: 4 kB / 0.6804 GB, free: 5.227 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.933e-05/0.1528, allocations: 117.8 kB / 0.6805 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.1528, allocations: 7.938 kB / 0.6805 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.153, allocations: 101.6 kB / 0.6806 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1531, allocations: 4 kB / 0.6806 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1531, allocations: 0 / 0.6806 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1531, allocations: 4 kB / 0.6806 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.1536, allocations: 366.5 kB / 0.681 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1536, allocations: 0 / 0.681 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1537, allocations: 19.98 kB / 0.681 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1537, allocations: 0 / 0.681 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1537, allocations: 8 kB / 0.681 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1537, allocations: 0 / 0.681 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1537, allocations: 0 / 0.681 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.154, allocations: 227.3 kB / 0.6812 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.1541, allocations: 81.14 kB / 0.6813 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.1541, allocations: 0 / 0.6813 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.995e-05/0.1542, allocations: 7.938 kB / 0.6813 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.1542, allocations: 7.984 kB / 0.6813 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.1542, allocations: 4 kB / 0.6813 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.951e-05/0.1543, allocations: 79.28 kB / 0.6814 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1543, allocations: 0 / 0.6814 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002687/0.1545, allocations: 36.03 kB / 0.6814 GB, free: 4.07 MB / 0.5137 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.000668/0.1552, allocations: 0.7903 MB / 0.6822 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.1554, allocations: 59.98 kB / 0.6822 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1554, allocations: 0 / 0.6822 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.576e-05/0.1554, allocations: 35.92 kB / 0.6823 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.1557, allocations: 8.062 kB / 0.6823 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.1573, allocations: 1.506 MB / 0.6837 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.1576, allocations: 0.6846 MB / 0.6844 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.555e-05/0.1577, allocations: 11.92 kB / 0.6844 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.1577, allocations: 27.44 kB / 0.6844 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1577, allocations: 0 / 0.6844 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04527/0.203, allocations: 2.097 MB / 0.6865 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.216/9.419, allocations: 7.719 kB / 0.6865 GB, free: 14.9 MB / 0.5294 GB (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 --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)