Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_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.0008522/0.0008523, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000927/0.0009271, allocations: 179.3 kB / 16.92 MB, free: 6.922 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.338/1.338, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6982/0.6982, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 12 kB / 496 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1224, allocations: 77.53 MB / 0.56 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001182/0.1236, allocations: 0.9925 MB / 0.561 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009418/0.1246, allocations: 0.6268 MB / 0.5616 GB, free: 7.285 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.511e-05/0.1246, allocations: 3.938 kB / 0.5616 GB, free: 7.281 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.1246, allocations: 0 / 0.5616 GB, free: 7.281 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.692e-05/0.1247, allocations: 3.984 kB / 0.5616 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.1251, allocations: 131.5 kB / 0.5618 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.947e-05/0.1252, allocations: 23.92 kB / 0.5618 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.1252, allocations: 7.984 kB / 0.5618 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.147e-05/0.1253, allocations: 8 kB / 0.5618 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.1253, allocations: 19.91 kB / 0.5618 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.1253, allocations: 0 / 0.5618 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/0.1258, allocations: 339.3 kB / 0.5621 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.1258, allocations: 11.94 kB / 0.5622 GB, free: 6.746 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.1258, allocations: 45.61 kB / 0.5622 GB, free: 6.695 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.1261, allocations: 144 kB / 0.5623 GB, free: 6.555 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1261, allocations: 3.938 kB / 0.5623 GB, free: 6.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1261, allocations: 4 kB / 0.5623 GB, free: 6.547 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1261, allocations: 0 / 0.5623 GB, free: 6.547 MB / 430.1 MB 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.0003446/0.1265, allocations: 359.5 kB / 0.5627 GB, free: 6.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1265, allocations: 8.031 kB / 0.5627 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.1265, allocations: 34.75 kB / 0.5627 GB, free: 6.094 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.1266, allocations: 4.844 kB / 0.5627 GB, free: 6.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.91e-05/0.1267, allocations: 172.3 kB / 0.5629 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1267, allocations: 8.375 kB / 0.5629 GB, free: 5.875 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.1267, allocations: 8.375 kB / 0.5629 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1268, allocations: 54.23 kB / 0.563 GB, free: 5.809 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1268, allocations: 3.938 kB / 0.563 GB, free: 5.805 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.1269, allocations: 0 / 0.563 GB, free: 5.805 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1269, allocations: 0 / 0.563 GB, free: 5.805 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.809e-05/0.1269, allocations: 23.92 kB / 0.563 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.1271, allocations: 161.7 kB / 0.5631 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.341e-05/0.1272, allocations: 58.55 kB / 0.5632 GB, free: 5.508 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/0.1272, allocations: 28.86 kB / 0.5632 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.1273, allocations: 7.984 kB / 0.5632 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.1273, allocations: 30.56 kB / 0.5633 GB, free: 5.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.1273, allocations: 0 / 0.5633 GB, free: 5.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001026/0.1283, allocations: 0.5978 MB / 0.5638 GB, free: 4.742 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.1284, allocations: 55.41 kB / 0.5639 GB, free: 4.676 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.551e-05/0.1284, allocations: 89.86 kB / 0.564 GB, free: 4.578 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1284, allocations: 29.7 kB / 0.564 GB, free: 4.543 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.1285, allocations: 84.14 kB / 0.5641 GB, free: 4.457 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.1285, allocations: 39.39 kB / 0.5641 GB, free: 4.418 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.1286, allocations: 17.72 kB / 0.5642 GB, free: 4.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1287, allocations: 323 kB / 0.5645 GB, free: 4.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.295e-05/0.1287, allocations: 16 kB / 0.5645 GB, free: 4.055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.1288, allocations: 31.48 kB / 0.5645 GB, free: 4.027 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.58e-05/0.1288, allocations: 52.84 kB / 0.5646 GB, free: 3.973 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1288, allocations: 3.938 kB / 0.5646 GB, free: 3.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001384/0.129, allocations: 105.5 kB / 0.5647 GB, free: 3.859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.129, allocations: 4 kB / 0.5647 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.129, allocations: 0 / 0.5647 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.129, allocations: 0 / 0.5647 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.1291, allocations: 27.98 kB / 0.5647 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1292, allocations: 0 / 0.5647 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/0.1292, allocations: 4 kB / 0.5647 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1292, allocations: 8 kB / 0.5647 GB, free: 3.816 MB / 430.1 MB 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 7.145e-05/0.1293, allocations: 117.8 kB / 0.5648 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.1293, allocations: 3.938 kB / 0.5648 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.1295, allocations: 109.9 kB / 0.5649 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1295, allocations: 0 / 0.5649 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1295, allocations: 4 kB / 0.5649 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1295, allocations: 3.984 kB / 0.5649 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.1299, allocations: 358.4 kB / 0.5653 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1299, allocations: 0 / 0.5653 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.13, allocations: 19.98 kB / 0.5653 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.13, allocations: 4 kB / 0.5653 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.13, allocations: 0 / 0.5653 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.13, allocations: 0 / 0.5653 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.13, allocations: 0 / 0.5653 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1303, allocations: 228.2 kB / 0.5655 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.1303, allocations: 85 kB / 0.5656 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.1303, allocations: 4 kB / 0.5656 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.1304, allocations: 4.031 kB / 0.5656 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.1304, allocations: 4 kB / 0.5656 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.1305, allocations: 11.98 kB / 0.5656 GB, free: 2.773 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.685e-05/0.1305, allocations: 75.38 kB / 0.5657 GB, free: 2.699 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1305, allocations: 4.094 kB / 0.5657 GB, free: 2.695 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1308, allocations: 40 kB / 0.5657 GB, free: 2.656 MB / 430.1 MB 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.000514/0.1313, allocations: 0.7748 MB / 0.5665 GB, free: 1.855 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.1314, allocations: 60.84 kB / 0.5665 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1314, allocations: 0 / 0.5665 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.541e-05/0.1315, allocations: 36 kB / 0.5666 GB, free: 1.762 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.1317, allocations: 12.8 kB / 0.5666 GB, free: 1.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.133, allocations: 1.557 MB / 0.5681 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.1332, allocations: 0.6848 MB / 0.5688 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.254e-05/0.1333, allocations: 11.98 kB / 0.5688 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.1333, allocations: 19.44 kB / 0.5688 GB, free: 15.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1333, allocations: 0 / 0.5688 GB, free: 15.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.674/0.8074, allocations: 1.83 MB / 0.5706 GB, free: 13.76 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.8077, allocations: 233.6 kB / 0.5708 GB, free: 13.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/2.78, allocations: 8.766 kB / 0.5708 GB, free: 13.5 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)