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/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_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.001471/0.001471, 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.001662/0.001662, allocations: 186.9 kB / 16.25 MB, free: 6.629 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.33/1.33, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.9543/0.9543, allocations: 143 MB / 433.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.91 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1466, allocations: 82.04 MB / 0.5939 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002472/0.1491, allocations: 1.529 MB / 0.5954 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.1501, allocations: 0.6189 MB / 0.596 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.1501, allocations: 0 / 0.596 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/0.1502, allocations: 7.922 kB / 0.596 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.995e-05/0.1503, allocations: 15.92 kB / 0.596 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.1508, allocations: 139.5 kB / 0.5962 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.005e-05/0.1509, allocations: 51.83 kB / 0.5962 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.1509, allocations: 4 kB / 0.5962 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.525e-05/0.151, allocations: 23.92 kB / 0.5962 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.151, allocations: 27.91 kB / 0.5963 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.1511, allocations: 8 kB / 0.5963 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004277/0.1515, allocations: 343.3 kB / 0.5966 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.1515, allocations: 19.91 kB / 0.5966 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.1516, allocations: 23.88 kB / 0.5966 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.1518, allocations: 171.8 kB / 0.5968 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1518, allocations: 4 kB / 0.5968 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1518, allocations: 0 / 0.5968 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1518, allocations: 0 / 0.5968 GB, free: 6.816 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005327/0.1524, allocations: 407.2 kB / 0.5972 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1524, allocations: 8.625 kB / 0.5972 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.1525, allocations: 38.75 kB / 0.5972 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.1525, allocations: 4.844 kB / 0.5973 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.274e-05/0.1526, allocations: 172.3 kB / 0.5974 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.1526, allocations: 4.375 kB / 0.5974 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.1527, allocations: 8.375 kB / 0.5974 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.1529, allocations: 76.34 kB / 0.5975 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1529, allocations: 3.938 kB / 0.5975 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1529, allocations: 8 kB / 0.5975 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1529, allocations: 4 kB / 0.5975 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.1532, allocations: 55.94 kB / 0.5976 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.1537, allocations: 320.6 kB / 0.5979 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.154, allocations: 82.52 kB / 0.598 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.1541, allocations: 36.83 kB / 0.598 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.1541, allocations: 3.938 kB / 0.598 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.1541, allocations: 34.56 kB / 0.598 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1541, allocations: 0 / 0.598 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001562/0.1557, allocations: 0.6422 MB / 0.5987 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.1558, allocations: 55.41 kB / 0.5987 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.025e-05/0.1558, allocations: 105.8 kB / 0.5988 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1558, allocations: 29.7 kB / 0.5988 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.1559, allocations: 92.03 kB / 0.5989 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.1559, allocations: 35.45 kB / 0.599 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.156, allocations: 25.72 kB / 0.599 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.1561, allocations: 318.9 kB / 0.5993 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.1562, allocations: 39.92 kB / 0.5993 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1563, allocations: 35.97 kB / 0.5994 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.1566, allocations: 75.02 kB / 0.5994 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1566, allocations: 3.938 kB / 0.5994 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000303/0.1569, allocations: 121.7 kB / 0.5995 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1569, allocations: 4 kB / 0.5996 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1569, allocations: 0 / 0.5996 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.157, allocations: 4 kB / 0.5996 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.1571, allocations: 23.98 kB / 0.5996 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.1571, allocations: 7.938 kB / 0.5996 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.089e-05/0.1572, allocations: 3.984 kB / 0.5996 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.1572, allocations: 8 kB / 0.5996 GB, free: 3.645 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 (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.172e-05/0.1573, allocations: 117.8 kB / 0.5997 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.1573, allocations: 7.906 kB / 0.5997 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.1577, allocations: 129.5 kB / 0.5998 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1577, allocations: 4 kB / 0.5998 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1577, allocations: 3.938 kB / 0.5998 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1577, allocations: 0 / 0.5998 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/0.1583, allocations: 382.4 kB / 0.6002 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1583, allocations: 4 kB / 0.6002 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.1584, allocations: 23.98 kB / 0.6002 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1584, allocations: 7.938 kB / 0.6002 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1584, allocations: 4 kB / 0.6003 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1585, allocations: 0 / 0.6003 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1585, allocations: 0 / 0.6003 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.1589, allocations: 259.5 kB / 0.6005 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.159, allocations: 77.11 kB / 0.6006 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.159, allocations: 11.94 kB / 0.6006 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1591, allocations: 8.203 kB / 0.6006 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.1592, allocations: 11.98 kB / 0.6006 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1592, allocations: 7.984 kB / 0.6006 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.102e-05/0.1592, allocations: 79.28 kB / 0.6007 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1592, allocations: 0 / 0.6007 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002705/0.1595, allocations: 39.98 kB / 0.6007 GB, free: 2.379 MB / 0.4981 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.0007887/0.1603, allocations: 0.8176 MB / 0.6015 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.1606, allocations: 87.88 kB / 0.6016 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.1606, allocations: 4 kB / 0.6016 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.1608, allocations: 40.05 kB / 0.6016 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.1611, allocations: 19.98 kB / 0.6017 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.229/0.3901, allocations: 1.605 MB / 0.6032 GB, free: 43.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.3902, allocations: 0.6949 MB / 0.6039 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.111e-05/0.3903, allocations: 12.39 kB / 0.6039 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.3904, allocations: 24.56 kB / 0.6039 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.3904, allocations: 0 / 0.6039 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01194/0.4023, allocations: 2.246 MB / 0.6061 GB, free: 42.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/0.4025, allocations: 259.4 kB / 0.6064 GB, free: 42.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.036, allocations: 2.188 kB / 0.6064 GB, free: 42.11 MB / 0.4981 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)