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.00845/0.00845, allocations: 106.9 kB / 15.74 MB, free: 6.035 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.00183/0.001831, allocations: 196 kB / 16.67 MB, free: 5.969 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.9895/0.9895, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 63.91 kB / 0.5951 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4388, allocations: 82.02 MB / 0.6752 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002541/0.4414, allocations: 1.269 MB / 0.6764 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.4426, allocations: 0.6222 MB / 0.677 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.4426, allocations: 0 / 0.677 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.4426, allocations: 0 / 0.677 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.678e-05/0.4427, allocations: 13.12 kB / 0.677 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006948/0.4434, allocations: 148.5 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.654e-05/0.4435, allocations: 16.81 kB / 0.6772 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.412e-05/0.4436, allocations: 6.141 kB / 0.6772 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.663e-05/0.4436, allocations: 8.609 kB / 0.6772 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.502e-05/0.4437, allocations: 7.281 kB / 0.6772 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.4437, allocations: 1.156 kB / 0.6772 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005591/0.4443, allocations: 341.4 kB / 0.6775 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.4443, allocations: 9.359 kB / 0.6775 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.4443, allocations: 11.7 kB / 0.6775 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.4446, allocations: 146.7 kB / 0.6777 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4447, allocations: 4 kB / 0.6777 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4447, allocations: 1.438 kB / 0.6777 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4447, allocations: 0 / 0.6777 GB, free: 15.16 MB / 0.5137 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.0004933/0.4452, allocations: 355.6 kB / 0.678 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.4452, allocations: 9.75 kB / 0.678 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.4453, allocations: 36.03 kB / 0.6781 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.4453, allocations: 5.781 kB / 0.6781 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.4455, allocations: 165.5 kB / 0.6782 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.4455, allocations: 1.594 kB / 0.6782 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.4455, allocations: 6.781 kB / 0.6782 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.4456, allocations: 44.19 kB / 0.6783 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4456, allocations: 3.938 kB / 0.6783 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.4457, allocations: 1.219 kB / 0.6783 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4457, allocations: 3.984 kB / 0.6783 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.321e-05/0.4457, allocations: 13.92 kB / 0.6783 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.4459, allocations: 159.1 kB / 0.6785 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.4461, allocations: 48.09 kB / 0.6785 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/0.4462, allocations: 15.77 kB / 0.6785 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.4462, allocations: 4.969 kB / 0.6785 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.4462, allocations: 39.59 kB / 0.6786 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4462, allocations: 1.094 kB / 0.6786 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006666/0.4469, allocations: 311 kB / 0.6789 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.447, allocations: 52.5 kB / 0.6789 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/0.447, allocations: 101.2 kB / 0.679 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.4471, allocations: 26.95 kB / 0.679 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.4471, allocations: 84.12 kB / 0.6791 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.4471, allocations: 22.97 kB / 0.6791 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.4472, allocations: 18.62 kB / 0.6792 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.4473, allocations: 316.1 kB / 0.6795 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.875e-05/0.4473, allocations: 10.25 kB / 0.6795 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/0.4474, allocations: 11.41 kB / 0.6795 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.472e-05/0.4474, allocations: 39.91 kB / 0.6795 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4474, allocations: 0 / 0.6795 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001072/0.4475, allocations: 76.08 kB / 0.6796 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4476, allocations: 7.562 kB / 0.6796 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4476, allocations: 1.031 kB / 0.6796 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.4476, allocations: 0 / 0.6796 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.458e-05/0.4477, allocations: 9.875 kB / 0.6796 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4477, allocations: 1.062 kB / 0.6796 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.89e-05/0.4477, allocations: 0 / 0.6796 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.4477, allocations: 1.906 kB / 0.6796 GB, free: 13.13 MB / 0.5137 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.097e-05/0.4478, allocations: 119.9 kB / 0.6797 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.4478, allocations: 9.797 kB / 0.6797 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.448, allocations: 70.41 kB / 0.6798 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.448, allocations: 1.125 kB / 0.6798 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.448, allocations: 0 / 0.6798 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.448, allocations: 1.219 kB / 0.6798 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.4483, allocations: 319.9 kB / 0.6801 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4484, allocations: 4.031 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.173e-05/0.4484, allocations: 10.62 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.4484, allocations: 1.25 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.4484, allocations: 1.25 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4485, allocations: 0 / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.4485, allocations: 1.406 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.4487, allocations: 193.7 kB / 0.6803 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.4487, allocations: 83.58 kB / 0.6804 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.4487, allocations: 1.094 kB / 0.6804 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.4488, allocations: 10.3 kB / 0.6804 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.4489, allocations: 2.062 kB / 0.6804 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.4489, allocations: 6.266 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.347e-05/0.4489, allocations: 77.31 kB / 0.6805 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4489, allocations: 0 / 0.6805 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002701/0.4492, allocations: 27.2 kB / 0.6805 GB, free: 12.22 MB / 0.5137 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.0005253/0.4497, allocations: 0.7313 MB / 0.6812 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.4499, allocations: 41.59 kB / 0.6813 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4499, allocations: 0 / 0.6813 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.96e-05/0.4499, allocations: 18.77 kB / 0.6813 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.4501, allocations: 3.359 kB / 0.6813 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.4515, allocations: 1.324 MB / 0.6826 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.4517, allocations: 0.6839 MB / 0.6832 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.127e-05/0.4518, allocations: 4.516 kB / 0.6832 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.4518, allocations: 13.02 kB / 0.6833 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.4518, allocations: 0 / 0.6833 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.4733, allocations: 1.663 MB / 0.6849 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.285, allocations: 10.84 kB / 0.6849 GB, free: 8.629 MB / 0.5137 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)