Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.0007933/0.0007933, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008059/0.0008059, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.3 MB / 240 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9599/0.9599, allocations: 143.4 MB / 434.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003214, allocations: 12 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1526, allocations: 83.42 MB / 0.5976 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001313/0.154, allocations: 0.99 MB / 0.5985 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009096/0.1549, allocations: 0.5572 MB / 0.5991 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.689e-05/0.1549, allocations: 0 / 0.5991 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.133e-05/0.1549, allocations: 0 / 0.5991 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.05e-05/0.155, allocations: 3.984 kB / 0.5991 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.1554, allocations: 119.6 kB / 0.5992 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.744e-05/0.1555, allocations: 31.8 kB / 0.5992 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.1555, allocations: 4 kB / 0.5992 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.068e-05/0.1555, allocations: 4 kB / 0.5992 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.464e-05/0.1556, allocations: 11.98 kB / 0.5992 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.1556, allocations: 3.938 kB / 0.5992 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004546/0.1561, allocations: 331.4 kB / 0.5996 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.1561, allocations: 3.938 kB / 0.5996 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.1561, allocations: 29.7 kB / 0.5996 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1563, allocations: 96.09 kB / 0.5997 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1563, allocations: 0 / 0.5997 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.176e-06/0.1563, allocations: 4 kB / 0.5997 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.1563, allocations: 7.938 kB / 0.5997 GB, free: 5.531 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.0004076/0.1567, allocations: 351.3 kB / 0.6 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1568, allocations: 8.031 kB / 0.6 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.1568, allocations: 34.56 kB / 0.6001 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.1568, allocations: 7.859 kB / 0.6001 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.157, allocations: 163.1 kB / 0.6002 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.157, allocations: 4 kB / 0.6002 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.157, allocations: 4 kB / 0.6002 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1571, allocations: 49.61 kB / 0.6003 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1572, allocations: 0 / 0.6003 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1572, allocations: 0 / 0.6003 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1572, allocations: 0 / 0.6003 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.361e-05/0.1572, allocations: 8 kB / 0.6003 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.1574, allocations: 161.6 kB / 0.6004 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.1576, allocations: 42.61 kB / 0.6005 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.1576, allocations: 24.94 kB / 0.6005 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.1576, allocations: 0 / 0.6005 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1577, allocations: 34.5 kB / 0.6005 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1577, allocations: 0 / 0.6005 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005643/0.1582, allocations: 310.2 kB / 0.6008 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.1583, allocations: 51.41 kB / 0.6009 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.019e-05/0.1583, allocations: 101.8 kB / 0.601 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1584, allocations: 33.7 kB / 0.601 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.1584, allocations: 84.12 kB / 0.6011 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1584, allocations: 15.72 kB / 0.6011 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.1584, allocations: 4 kB / 0.6011 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.475e-05/0.1585, allocations: 314.8 kB / 0.6014 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.1586, allocations: 12 kB / 0.6014 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.1586, allocations: 8 kB / 0.6014 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.065e-05/0.1586, allocations: 15.98 kB / 0.6014 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.1586, allocations: 3.938 kB / 0.6014 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.118e-05/0.1587, allocations: 69.55 kB / 0.6015 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.1588, allocations: 4 kB / 0.6015 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1588, allocations: 0 / 0.6015 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1588, allocations: 3.984 kB / 0.6015 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.856e-05/0.1589, allocations: 16 kB / 0.6015 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.1589, allocations: 64 / 0.6015 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.1589, allocations: 4 kB / 0.6015 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1589, allocations: 7.953 kB / 0.6016 GB, free: 3.348 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.883e-05/0.159, allocations: 109.8 kB / 0.6017 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-06/0.159, allocations: 8 kB / 0.6017 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.1591, allocations: 73.58 kB / 0.6017 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1591, allocations: 0 / 0.6017 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1591, allocations: 0.5156 kB / 0.6017 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1591, allocations: 0 / 0.6017 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.1594, allocations: 319.3 kB / 0.602 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1594, allocations: 0 / 0.602 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.755e-05/0.1595, allocations: 15.98 kB / 0.6021 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1595, allocations: 4.031 kB / 0.6021 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.1595, allocations: 0 / 0.6021 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1595, allocations: 4 kB / 0.6021 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1595, allocations: 0 / 0.6021 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.1597, allocations: 188.2 kB / 0.6022 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.1598, allocations: 85.14 kB / 0.6023 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.1598, allocations: 0 / 0.6023 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.1599, allocations: 4.062 kB / 0.6023 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.1599, allocations: 7.984 kB / 0.6023 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.1599, allocations: 7.953 kB / 0.6023 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.265e-05/0.1599, allocations: 79.28 kB / 0.6024 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1599, allocations: 0 / 0.6024 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002318/0.1602, allocations: 23.94 kB / 0.6024 GB, free: 2.32 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004364/0.1606, allocations: 0.7369 MB / 0.6032 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.29e-05/0.1607, allocations: 27.98 kB / 0.6032 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1607, allocations: 0 / 0.6032 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-05/0.1607, allocations: 23.88 kB / 0.6032 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.161, allocations: 7.984 kB / 0.6032 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006645/0.1616, allocations: 491.5 kB / 0.6037 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.1619, allocations: 0.6809 MB / 0.6043 GB, free: 264 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.162, allocations: 12.03 kB / 0.6044 GB, free: 252 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.162, allocations: 11.44 kB / 0.6044 GB, free: 240 kB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.162, allocations: 0 / 0.6044 GB, free: 240 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2491/0.4111, allocations: 1.391 MB / 0.6057 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.4113, allocations: 234.4 kB / 0.606 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/1.963, allocations: 0 / 0.606 GB, free: 39.68 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: