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.001637/0.001637, allocations: 108 kB / 15.6 MB, free: 132 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.002018/0.002019, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.402 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 1.004/1.004, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1457, allocations: 82.04 MB / 0.5944 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002375/0.1481, allocations: 1.264 MB / 0.5956 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1494, allocations: 0.6188 MB / 0.5962 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.1494, allocations: 0 / 0.5962 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.1495, allocations: 0 / 0.5962 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.094e-05/0.1495, allocations: 7.938 kB / 0.5962 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000715/0.1502, allocations: 146.8 kB / 0.5964 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.216e-05/0.1503, allocations: 19.92 kB / 0.5964 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.1504, allocations: 8 kB / 0.5964 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.123e-05/0.1504, allocations: 4 kB / 0.5964 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.1505, allocations: 15.92 kB / 0.5964 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.1505, allocations: 3.938 kB / 0.5964 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005925/0.1511, allocations: 347.3 kB / 0.5968 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.1511, allocations: 0 / 0.5968 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.1512, allocations: 11.94 kB / 0.5968 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.1515, allocations: 151.9 kB / 0.5969 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1515, allocations: 4 kB / 0.5969 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1515, allocations: 0 / 0.5969 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.1515, allocations: 0 / 0.5969 GB, free: 6.875 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.0005023/0.152, allocations: 359.4 kB / 0.5973 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1521, allocations: 12.62 kB / 0.5973 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.1521, allocations: 34.73 kB / 0.5973 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.1522, allocations: 0.9375 kB / 0.5973 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1523, allocations: 168.3 kB / 0.5975 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1523, allocations: 384 / 0.5975 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1523, allocations: 12.38 kB / 0.5975 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.554e-05/0.1524, allocations: 34.25 kB / 0.5975 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1524, allocations: 3.938 kB / 0.5975 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.1525, allocations: 4 kB / 0.5975 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1525, allocations: 0 / 0.5975 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.852e-05/0.1525, allocations: 11.98 kB / 0.5975 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.1527, allocations: 157.7 kB / 0.5977 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.1529, allocations: 54.5 kB / 0.5977 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.1529, allocations: 12.86 kB / 0.5978 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1529, allocations: 4 kB / 0.5978 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.153, allocations: 30.56 kB / 0.5978 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.153, allocations: 0 / 0.5978 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005967/0.1536, allocations: 326.3 kB / 0.5981 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.1536, allocations: 59.41 kB / 0.5982 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.024e-05/0.1537, allocations: 89.86 kB / 0.5982 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1537, allocations: 33.7 kB / 0.5983 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.1537, allocations: 84.12 kB / 0.5984 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1538, allocations: 11.8 kB / 0.5984 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.1538, allocations: 21.72 kB / 0.5984 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1539, allocations: 318.8 kB / 0.5987 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.878e-05/0.154, allocations: 15.98 kB / 0.5987 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/0.154, allocations: 8 kB / 0.5987 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.661e-05/0.1541, allocations: 32.86 kB / 0.5987 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1541, allocations: 0 / 0.5987 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.955e-05/0.1542, allocations: 69.53 kB / 0.5988 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1542, allocations: 4 kB / 0.5988 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1542, allocations: 0 / 0.5988 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1542, allocations: 4 kB / 0.5988 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.073e-05/0.1543, allocations: 15.92 kB / 0.5988 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1543, allocations: 64 / 0.5988 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.1543, allocations: 8 kB / 0.5988 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1543, allocations: 8 kB / 0.5988 GB, free: 4.625 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 8.426e-05/0.1544, allocations: 105.8 kB / 0.5989 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.1545, allocations: 11.94 kB / 0.599 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.1546, allocations: 69.64 kB / 0.599 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1546, allocations: 0 / 0.599 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1546, allocations: 0 / 0.599 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1546, allocations: 0 / 0.599 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.155, allocations: 323.3 kB / 0.5993 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.155, allocations: 0 / 0.5993 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.087e-05/0.1551, allocations: 15.92 kB / 0.5993 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1551, allocations: 0 / 0.5993 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1551, allocations: 7.938 kB / 0.5994 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1551, allocations: 3.938 kB / 0.5994 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1551, allocations: 0 / 0.5994 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.1554, allocations: 188.3 kB / 0.5995 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.1554, allocations: 81.11 kB / 0.5996 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.1554, allocations: 0 / 0.5996 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.1555, allocations: 4 kB / 0.5996 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.1555, allocations: 3.984 kB / 0.5996 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1556, allocations: 4 kB / 0.5996 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.138e-05/0.1556, allocations: 83.28 kB / 0.5997 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.623e-06/0.1556, allocations: 0 / 0.5997 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002621/0.1559, allocations: 23.88 kB / 0.5997 GB, free: 3.602 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.0004874/0.1564, allocations: 0.7431 MB / 0.6005 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.1565, allocations: 35.92 kB / 0.6005 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1565, allocations: 0 / 0.6005 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.919e-05/0.1565, allocations: 15.98 kB / 0.6005 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.1568, allocations: 12.12 kB / 0.6005 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.158, allocations: 1.315 MB / 0.6018 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1583, allocations: 0.6807 MB / 0.6025 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.395e-05/0.1583, allocations: 4.031 kB / 0.6025 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.1583, allocations: 19.42 kB / 0.6025 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1584, allocations: 0 / 0.6025 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.251/0.4093, allocations: 1.606 MB / 0.6041 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.301/7.71, allocations: 16.27 kB / 0.6041 GB, free: 43.57 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)