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.001114/0.001114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001236/0.001236, allocations: 194.4 kB / 16.14 MB, free: 6.656 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.266/1.266, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.9086/0.9086, allocations: 143 MB / 433 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.91 kB / 0.5136 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1315, allocations: 82.04 MB / 0.5937 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002254/0.1338, allocations: 1.535 MB / 0.5952 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1348, allocations: 0.6461 MB / 0.5959 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.1349, allocations: 0 / 0.5959 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.1349, allocations: 3.984 kB / 0.5959 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.412e-05/0.135, allocations: 7.938 kB / 0.5959 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.1354, allocations: 131.6 kB / 0.596 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.673e-05/0.1355, allocations: 51.84 kB / 0.596 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.1355, allocations: 7.938 kB / 0.5961 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.842e-05/0.1356, allocations: 23.91 kB / 0.5961 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.889e-05/0.1356, allocations: 23.92 kB / 0.5961 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1356, allocations: 4 kB / 0.5961 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/0.1361, allocations: 343.4 kB / 0.5964 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.1361, allocations: 11.92 kB / 0.5964 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.1362, allocations: 23.86 kB / 0.5965 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.1365, allocations: 179.8 kB / 0.5966 GB, free: 7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1365, allocations: 4 kB / 0.5966 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.01e-07/0.1365, allocations: 0 / 0.5966 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.1365, allocations: 0 / 0.5966 GB, free: 6.996 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.0005037/0.137, allocations: 403.3 kB / 0.597 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.137, allocations: 12.03 kB / 0.597 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.1371, allocations: 34.75 kB / 0.5971 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.1371, allocations: 12.78 kB / 0.5971 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.92e-05/0.1372, allocations: 168.4 kB / 0.5972 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1372, allocations: 8.375 kB / 0.5973 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.1373, allocations: 4.375 kB / 0.5973 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.1375, allocations: 80.34 kB / 0.5973 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1375, allocations: 7.938 kB / 0.5973 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1375, allocations: 4 kB / 0.5973 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1375, allocations: 0 / 0.5973 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.1378, allocations: 51.89 kB / 0.5974 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.1382, allocations: 324.6 kB / 0.5977 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.1385, allocations: 82.47 kB / 0.5978 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.1386, allocations: 32.83 kB / 0.5978 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1387, allocations: 4 kB / 0.5978 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.1387, allocations: 30.56 kB / 0.5978 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1387, allocations: 0 / 0.5978 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001559/0.1403, allocations: 0.6462 MB / 0.5985 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.1403, allocations: 55.41 kB / 0.5985 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.605e-05/0.1404, allocations: 97.8 kB / 0.5986 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1404, allocations: 33.8 kB / 0.5987 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.1404, allocations: 91.97 kB / 0.5987 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.1405, allocations: 47.44 kB / 0.5988 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.1405, allocations: 21.72 kB / 0.5988 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1406, allocations: 322.8 kB / 0.5991 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1408, allocations: 27.98 kB / 0.5991 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.1409, allocations: 31.97 kB / 0.5992 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.1411, allocations: 79.14 kB / 0.5992 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1411, allocations: 4 kB / 0.5993 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002907/0.1414, allocations: 117.7 kB / 0.5994 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1414, allocations: 8 kB / 0.5994 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1414, allocations: 0 / 0.5994 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.1415, allocations: 3.938 kB / 0.5994 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.1416, allocations: 27.92 kB / 0.5994 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.1416, allocations: 3.938 kB / 0.5994 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.1417, allocations: 11.98 kB / 0.5994 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1417, allocations: 8 kB / 0.5994 GB, free: 3.824 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.061e-05/0.1418, allocations: 113.8 kB / 0.5995 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.1418, allocations: 3.906 kB / 0.5995 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.1422, allocations: 129.5 kB / 0.5997 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1422, allocations: 0 / 0.5997 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1422, allocations: 7.875 kB / 0.5997 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1422, allocations: 0 / 0.5997 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005631/0.1428, allocations: 382.7 kB / 0.6 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1428, allocations: 0 / 0.6 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.1429, allocations: 27.98 kB / 0.6001 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.1429, allocations: 3.938 kB / 0.6001 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1429, allocations: 7.938 kB / 0.6001 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.143, allocations: 3.938 kB / 0.6001 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.143, allocations: 3.984 kB / 0.6001 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.1434, allocations: 255.4 kB / 0.6003 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.1435, allocations: 81.14 kB / 0.6004 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.1435, allocations: 7.938 kB / 0.6004 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.1436, allocations: 11.98 kB / 0.6004 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.1437, allocations: 7.984 kB / 0.6004 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.1437, allocations: 4 kB / 0.6004 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.921e-05/0.1437, allocations: 79.34 kB / 0.6005 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1437, allocations: 4 kB / 0.6005 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002614/0.144, allocations: 39.98 kB / 0.6005 GB, free: 2.562 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.0007628/0.1447, allocations: 0.8255 MB / 0.6014 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002832/0.145, allocations: 87.88 kB / 0.6014 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.145, allocations: 0 / 0.6014 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.1452, allocations: 39.98 kB / 0.6015 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.1455, allocations: 11.98 kB / 0.6015 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2026/0.3481, allocations: 1.607 MB / 0.6031 GB, free: 43.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.3483, allocations: 0.6955 MB / 0.6037 GB, free: 42.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.026e-05/0.3484, allocations: 12.66 kB / 0.6037 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.3484, allocations: 26.62 kB / 0.6038 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.3484, allocations: 0 / 0.6038 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01072/0.3592, allocations: 2.17 MB / 0.6059 GB, free: 42.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001893/0.3594, allocations: 267.6 kB / 0.6061 GB, free: 42.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/1.937, allocations: 1.094 kB / 0.6062 GB, free: 42.22 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)