Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.005057/0.005057, allocations: 97.47 kB / 15.73 MB, free: 6.055 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.001333/0.001333, allocations: 195.3 kB / 16.68 MB, free: 5.977 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.073/1.073, allocations: 143.3 MB / 433.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 59.91 kB / 0.5953 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4081, allocations: 82.02 MB / 0.6754 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002014/0.4101, allocations: 1.235 MB / 0.6766 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.4112, allocations: 0.5939 MB / 0.6772 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.4113, allocations: 1.156 kB / 0.6772 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.4113, allocations: 3.938 kB / 0.6772 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.699e-05/0.4113, allocations: 0 / 0.6772 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.4119, allocations: 143.3 kB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.295e-05/0.412, allocations: 16.77 kB / 0.6773 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.412, allocations: 10.14 kB / 0.6774 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.753e-05/0.412, allocations: 2.281 kB / 0.6774 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.042e-05/0.4121, allocations: 2.375 kB / 0.6774 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.4121, allocations: 0 / 0.6774 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005325/0.4126, allocations: 341.1 kB / 0.6777 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.4127, allocations: 5.141 kB / 0.6777 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.4127, allocations: 9.156 kB / 0.6777 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.413, allocations: 136.1 kB / 0.6778 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.413, allocations: 0 / 0.6778 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.936e-06/0.413, allocations: 8.875 kB / 0.6778 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.413, allocations: 3.938 kB / 0.6778 GB, free: 15.17 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004281/0.4134, allocations: 361.7 kB / 0.6782 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4135, allocations: 10.38 kB / 0.6782 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.4135, allocations: 30.75 kB / 0.6782 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.249e-05/0.4136, allocations: 2.156 kB / 0.6782 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.4137, allocations: 169.4 kB / 0.6784 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4137, allocations: 1.375 kB / 0.6784 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-06/0.4137, allocations: 1.562 kB / 0.6784 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.982e-05/0.4138, allocations: 33.31 kB / 0.6784 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.4138, allocations: 3.938 kB / 0.6784 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.4138, allocations: 0 / 0.6784 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4139, allocations: 1.156 kB / 0.6784 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.737e-05/0.4139, allocations: 10.22 kB / 0.6784 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.4141, allocations: 153.6 kB / 0.6786 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.628e-05/0.4141, allocations: 23.02 kB / 0.6786 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.4142, allocations: 7.109 kB / 0.6786 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.4142, allocations: 1.031 kB / 0.6786 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.4142, allocations: 31.66 kB / 0.6786 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.4142, allocations: 0 / 0.6786 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001455/0.4144, allocations: 51.69 kB / 0.6787 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.4144, allocations: 55.53 kB / 0.6787 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/0.4145, allocations: 93.02 kB / 0.6788 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.4145, allocations: 29.7 kB / 0.6789 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.4146, allocations: 81.23 kB / 0.6789 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.4146, allocations: 5.172 kB / 0.6789 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.4146, allocations: 11.06 kB / 0.679 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.4148, allocations: 319.9 kB / 0.6793 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/0.4148, allocations: 6.375 kB / 0.6793 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.657e-06/0.4148, allocations: 2.125 kB / 0.6793 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.4148, allocations: 9.359 kB / 0.6793 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4149, allocations: 5.125 kB / 0.6793 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.349e-05/0.4149, allocations: 42.23 kB / 0.6793 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4149, allocations: 12.36 kB / 0.6793 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.415, allocations: 0.9062 kB / 0.6793 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.415, allocations: 0 / 0.6793 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.4151, allocations: 8 kB / 0.6793 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004244/0.4156, allocations: 0.5862 MB / 0.6799 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.951e-05/0.4156, allocations: 5.266 kB / 0.6799 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.4156, allocations: 1.156 kB / 0.6799 GB, free: 12.89 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.284e-05/0.4157, allocations: 114.9 kB / 0.68 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.4157, allocations: 1.031 kB / 0.68 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.4158, allocations: 56.5 kB / 0.6801 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4158, allocations: 1 kB / 0.6801 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4158, allocations: 0 / 0.6801 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.4158, allocations: 1.625 kB / 0.6801 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.416, allocations: 148 kB / 0.6802 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.416, allocations: 0 / 0.6802 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.45e-05/0.416, allocations: 11.33 kB / 0.6802 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.4161, allocations: 5.141 kB / 0.6802 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.4161, allocations: 0 / 0.6802 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00034/0.4164, allocations: 0.5866 MB / 0.6808 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4164, allocations: 5.312 kB / 0.6808 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.266e-05/0.4165, allocations: 66.23 kB / 0.6809 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.4166, allocations: 85.11 kB / 0.681 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.4166, allocations: 1.438 kB / 0.681 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.354e-05/0.4166, allocations: 4.125 kB / 0.681 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.4166, allocations: 9.172 kB / 0.681 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.4166, allocations: 1.062 kB / 0.681 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.4167, allocations: 76.75 kB / 0.6811 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4167, allocations: 0 / 0.6811 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002224/0.4169, allocations: 11.91 kB / 0.6811 GB, free: 11.65 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004568/0.4174, allocations: 0.6222 MB / 0.6817 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.4175, allocations: 12.41 kB / 0.6817 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.4176, allocations: 0 / 0.6817 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.74e-05/0.4177, allocations: 22.3 kB / 0.6817 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.4178, allocations: 7.359 kB / 0.6817 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.4183, allocations: 139.2 kB / 0.6819 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.4186, allocations: 0.6789 MB / 0.6825 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.587e-05/0.4186, allocations: 0.9375 kB / 0.6825 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.4186, allocations: 8.75 kB / 0.6825 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.4186, allocations: 0 / 0.6825 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.4427, allocations: 1.403 MB / 0.6839 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.92, allocations: 2.188 kB / 0.6839 GB, free: 9.449 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)