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.01/0.01, allocations: 100.5 kB / 15.73 MB, free: 6.453 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.002151/0.002151, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.9503/0.9503, allocations: 143.1 MB / 433.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 59.91 kB / 0.5951 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.4568, allocations: 82.03 MB / 0.6752 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002276/0.4592, allocations: 1.466 MB / 0.6766 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.4603, allocations: 0.6381 MB / 0.6772 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.4603, allocations: 1.375 kB / 0.6772 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.4604, allocations: 3.938 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.39e-05/0.4604, allocations: 5.375 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.461, allocations: 170.6 kB / 0.6774 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.417e-05/0.4611, allocations: 50.41 kB / 0.6774 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.4612, allocations: 7.562 kB / 0.6774 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.695e-05/0.4612, allocations: 24.69 kB / 0.6775 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.086e-05/0.4613, allocations: 27.72 kB / 0.6775 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.4613, allocations: 4.719 kB / 0.6775 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005552/0.4619, allocations: 352.6 kB / 0.6778 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.4619, allocations: 10.19 kB / 0.6778 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.462, allocations: 23.08 kB / 0.6779 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.4623, allocations: 178.1 kB / 0.678 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4623, allocations: 0 / 0.678 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4623, allocations: 1.094 kB / 0.678 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.4623, allocations: 0 / 0.678 GB, free: 14.95 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006429/0.463, allocations: 399.4 kB / 0.6784 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.463, allocations: 10.94 kB / 0.6784 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.4631, allocations: 39.98 kB / 0.6785 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.4631, allocations: 8.406 kB / 0.6785 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.4632, allocations: 174.7 kB / 0.6786 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.4633, allocations: 4 kB / 0.6786 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.4633, allocations: 9.312 kB / 0.6787 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.4635, allocations: 81.92 kB / 0.6787 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.4636, allocations: 5.125 kB / 0.6787 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.4636, allocations: 0 / 0.6787 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4636, allocations: 2.031 kB / 0.6787 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.4638, allocations: 48.59 kB / 0.6788 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.4644, allocations: 328.4 kB / 0.6791 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.4647, allocations: 79.81 kB / 0.6792 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.4648, allocations: 31.53 kB / 0.6792 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.4649, allocations: 1.25 kB / 0.6792 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.4649, allocations: 39.75 kB / 0.6792 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.4649, allocations: 0 / 0.6792 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001602/0.4665, allocations: 0.648 MB / 0.6799 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.4666, allocations: 53.22 kB / 0.6799 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.956e-05/0.4666, allocations: 110.6 kB / 0.68 GB, free: 13 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4667, allocations: 26.73 kB / 0.6801 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.4667, allocations: 97.77 kB / 0.6802 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.4668, allocations: 36.58 kB / 0.6802 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.4668, allocations: 30.39 kB / 0.6802 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4669, allocations: 316.2 kB / 0.6805 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.467, allocations: 30.84 kB / 0.6805 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.4672, allocations: 30.45 kB / 0.6806 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.4674, allocations: 75.64 kB / 0.6807 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4674, allocations: 3.938 kB / 0.6807 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002888/0.4677, allocations: 123.1 kB / 0.6808 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4677, allocations: 5.25 kB / 0.6808 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4677, allocations: 0 / 0.6808 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4678, allocations: 1.375 kB / 0.6808 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.4679, allocations: 32.41 kB / 0.6808 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.4679, allocations: 5.062 kB / 0.6808 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/0.468, allocations: 7.406 kB / 0.6808 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.468, allocations: 3.344 kB / 0.6808 GB, free: 12.34 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 (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 8.242e-05/0.4681, allocations: 120.1 kB / 0.6809 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.4681, allocations: 7.234 kB / 0.6809 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.4685, allocations: 128.2 kB / 0.6811 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4685, allocations: 1.188 kB / 0.6811 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4685, allocations: 3.938 kB / 0.6811 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4685, allocations: 7.938 kB / 0.6811 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005448/0.4691, allocations: 385.7 kB / 0.6814 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4691, allocations: 0 / 0.6814 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.4693, allocations: 24.67 kB / 0.6815 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.4693, allocations: 5.281 kB / 0.6815 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.4693, allocations: 5.094 kB / 0.6815 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.4693, allocations: 3.984 kB / 0.6815 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4693, allocations: 1.188 kB / 0.6815 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.4699, allocations: 247.5 kB / 0.6817 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.4699, allocations: 82.39 kB / 0.6818 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.47, allocations: 9.406 kB / 0.6818 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.4701, allocations: 4.375 kB / 0.6818 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.4701, allocations: 8.297 kB / 0.6818 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.4701, allocations: 10.97 kB / 0.6818 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.113e-05/0.4702, allocations: 86.17 kB / 0.6819 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4702, allocations: 0 / 0.6819 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003096/0.4705, allocations: 38.62 kB / 0.682 GB, free: 11.33 MB / 0.5137 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.0009797/0.4715, allocations: 0.82 MB / 0.6828 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000346/0.4719, allocations: 79.58 kB / 0.6828 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4719, allocations: 1 kB / 0.6828 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.472, allocations: 47 kB / 0.6829 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.4724, allocations: 8.625 kB / 0.6829 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.4748, allocations: 1.603 MB / 0.6844 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.4751, allocations: 0.6922 MB / 0.6851 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.975e-05/0.4752, allocations: 15.48 kB / 0.6851 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.4753, allocations: 24.92 kB / 0.6852 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4753, allocations: 1.375 kB / 0.6852 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.4975, allocations: 2.392 MB / 0.6875 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.372, allocations: 10.06 kB / 0.6875 GB, free: 7.156 MB / 0.5137 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)