Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",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.0009926/0.0009926, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001089/0.001089, allocations: 188 kB / 16.25 MB, free: 6.625 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.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.964/0.964, allocations: 143 MB / 433.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 64.14 kB / 0.5138 GB, free: 11.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1444, allocations: 82.04 MB / 0.5939 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002115/0.1466, allocations: 1.339 MB / 0.5952 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008923/0.1475, allocations: 0.6111 MB / 0.5958 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.1475, allocations: 4 kB / 0.5958 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.19e-05/0.1475, allocations: 7.984 kB / 0.5958 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.287e-05/0.1476, allocations: 3.938 kB / 0.5958 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.1481, allocations: 133.7 kB / 0.596 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.738e-05/0.1481, allocations: 15.92 kB / 0.596 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.1482, allocations: 4 kB / 0.596 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.077e-05/0.1482, allocations: 8 kB / 0.596 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.945e-05/0.1482, allocations: 11.92 kB / 0.596 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1483, allocations: 0 / 0.596 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004305/0.1487, allocations: 351.3 kB / 0.5963 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.796e-06/0.1487, allocations: 0 / 0.5963 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.1487, allocations: 15.92 kB / 0.5963 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.149, allocations: 147.9 kB / 0.5965 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.149, allocations: 0 / 0.5965 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.149, allocations: 0 / 0.5965 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.149, allocations: 4 kB / 0.5965 GB, free: 7.203 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003572/0.1493, allocations: 359.4 kB / 0.5968 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1494, allocations: 8.625 kB / 0.5968 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.1494, allocations: 34.73 kB / 0.5969 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.514e-05/0.1495, allocations: 8.938 kB / 0.5969 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.531e-05/0.1496, allocations: 164.3 kB / 0.597 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1496, allocations: 4.375 kB / 0.597 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.1496, allocations: 4.375 kB / 0.597 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.12e-05/0.1497, allocations: 38.25 kB / 0.5971 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1497, allocations: 3.938 kB / 0.5971 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.1497, allocations: 0 / 0.5971 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1497, allocations: 4 kB / 0.5971 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.412e-05/0.1498, allocations: 11.92 kB / 0.5971 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.1499, allocations: 165.7 kB / 0.5973 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.1501, allocations: 46.5 kB / 0.5973 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.1501, allocations: 16.86 kB / 0.5973 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.1502, allocations: 0 / 0.5973 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.1502, allocations: 30.56 kB / 0.5973 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1502, allocations: 0 / 0.5973 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005437/0.1507, allocations: 322.2 kB / 0.5977 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.1508, allocations: 55.41 kB / 0.5977 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.076e-05/0.1508, allocations: 98.17 kB / 0.5978 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1509, allocations: 29.7 kB / 0.5978 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.1509, allocations: 80.14 kB / 0.5979 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.1509, allocations: 19.8 kB / 0.5979 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.1509, allocations: 17.72 kB / 0.5979 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.151, allocations: 314.8 kB / 0.5982 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.1511, allocations: 19.92 kB / 0.5983 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.938e-05/0.1511, allocations: 8 kB / 0.5983 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.937e-05/0.1512, allocations: 28.86 kB / 0.5983 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.1512, allocations: 0 / 0.5983 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.698e-05/0.1513, allocations: 73.72 kB / 0.5984 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1513, allocations: 4 kB / 0.5984 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1513, allocations: 4 kB / 0.5984 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1513, allocations: 3.984 kB / 0.5984 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.933e-05/0.1514, allocations: 19.92 kB / 0.5984 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1514, allocations: 0 / 0.5984 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.701e-05/0.1514, allocations: 3.938 kB / 0.5984 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1514, allocations: 4 kB / 0.5984 GB, free: 4.957 MB / 0.4981 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 (7): * Single equations (assignments): 7 * 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 5.69e-05/0.1515, allocations: 109.8 kB / 0.5985 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.1515, allocations: 7.938 kB / 0.5985 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.1516, allocations: 69.64 kB / 0.5986 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1516, allocations: 0 / 0.5986 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1516, allocations: 0 / 0.5986 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1516, allocations: 8 kB / 0.5986 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.1519, allocations: 315.3 kB / 0.5989 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1519, allocations: 0 / 0.5989 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.152, allocations: 11.98 kB / 0.5989 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.152, allocations: 11.88 kB / 0.5989 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.152, allocations: 4 kB / 0.5989 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.152, allocations: 240 / 0.5989 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.152, allocations: 0 / 0.5989 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.1522, allocations: 196.4 kB / 0.5991 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.1523, allocations: 77.11 kB / 0.5992 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1523, allocations: 4.031 kB / 0.5992 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.1524, allocations: 0 / 0.5992 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.1524, allocations: 7.984 kB / 0.5992 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.1524, allocations: 4 kB / 0.5992 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.98e-05/0.1524, allocations: 79.34 kB / 0.5993 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1524, allocations: 4 kB / 0.5993 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000241/0.1527, allocations: 23.94 kB / 0.5993 GB, free: 3.926 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0004231/0.1531, allocations: 0.7327 MB / 0.6 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.278e-05/0.1532, allocations: 39.98 kB / 0.6001 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.1532, allocations: 4 kB / 0.6001 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.638e-05/0.1532, allocations: 15.98 kB / 0.6001 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.1535, allocations: 5.016 kB / 0.6001 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1545, allocations: 1.323 MB / 0.6014 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.1547, allocations: 0.6807 MB / 0.602 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.921e-05/0.1547, allocations: 4 kB / 0.602 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.1548, allocations: 19.42 kB / 0.6021 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1548, allocations: 4 kB / 0.6021 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2402/0.395, allocations: 1.523 MB / 0.6035 GB, free: 43.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.3952, allocations: 262.5 kB / 0.6038 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.005, allocations: 0 / 0.6038 GB, free: 42.95 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)