Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.007908/0.007908, allocations: 102.1 kB / 15.73 MB, free: 5.516 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.002041/0.002042, allocations: 202 kB / 16.68 MB, free: 5.445 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.129 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.06/1.06, allocations: 143.3 MB / 433.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.89 kB / 0.5953 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4254, allocations: 82.04 MB / 0.6754 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002366/0.4278, allocations: 1.275 MB / 0.6767 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.429, allocations: 0.6024 MB / 0.6773 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.4291, allocations: 0 / 0.6773 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.4291, allocations: 0 / 0.6773 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.754e-05/0.4292, allocations: 5 kB / 0.6773 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.4297, allocations: 154.7 kB / 0.6774 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.173e-05/0.4298, allocations: 17.14 kB / 0.6774 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.4299, allocations: 2.469 kB / 0.6774 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.331e-05/0.4299, allocations: 7.5 kB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.991e-05/0.43, allocations: 12.8 kB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.43, allocations: 5.156 kB / 0.6774 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005522/0.4305, allocations: 341.2 kB / 0.6778 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.4306, allocations: 1.219 kB / 0.6778 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.4306, allocations: 11.28 kB / 0.6778 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.4309, allocations: 157.8 kB / 0.6779 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4309, allocations: 0 / 0.6779 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4309, allocations: 0 / 0.6779 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.4309, allocations: 1.188 kB / 0.6779 GB, free: 15.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004718/0.4314, allocations: 358.1 kB / 0.6783 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.4314, allocations: 9.531 kB / 0.6783 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/0.4315, allocations: 36.08 kB / 0.6783 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.518e-05/0.4315, allocations: 2.344 kB / 0.6783 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.4317, allocations: 169.7 kB / 0.6785 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.4317, allocations: 5.812 kB / 0.6785 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.4317, allocations: 5.75 kB / 0.6785 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.4318, allocations: 40.28 kB / 0.6785 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4319, allocations: 5.531 kB / 0.6785 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.4319, allocations: 0 / 0.6785 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4319, allocations: 3.938 kB / 0.6785 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.799e-05/0.4319, allocations: 21.11 kB / 0.6786 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.4323, allocations: 249.5 kB / 0.6788 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.4326, allocations: 57.94 kB / 0.6789 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.138e-05/0.4326, allocations: 20.61 kB / 0.6789 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.4326, allocations: 1.062 kB / 0.6789 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.4327, allocations: 31.75 kB / 0.6789 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.4327, allocations: 0 / 0.6789 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0002069/0.4329, allocations: 63.48 kB / 0.679 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.433, allocations: 56.53 kB / 0.679 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.646e-05/0.4331, allocations: 97.25 kB / 0.6791 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.4331, allocations: 30.95 kB / 0.6791 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.4331, allocations: 80.14 kB / 0.6792 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.4332, allocations: 13.89 kB / 0.6792 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.4332, allocations: 18.19 kB / 0.6793 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4333, allocations: 311.8 kB / 0.6795 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.4334, allocations: 8.562 kB / 0.6796 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.071e-05/0.4334, allocations: 27.02 kB / 0.6796 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.763e-05/0.4335, allocations: 29.41 kB / 0.6796 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4335, allocations: 3.938 kB / 0.6796 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001027/0.4336, allocations: 59.48 kB / 0.6797 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4336, allocations: 5.562 kB / 0.6797 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4336, allocations: 1.062 kB / 0.6797 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4337, allocations: 1.125 kB / 0.6797 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.839e-05/0.4337, allocations: 18.61 kB / 0.6797 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.4337, allocations: 1.156 kB / 0.6797 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.406e-05/0.4338, allocations: 1.188 kB / 0.6797 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.4338, allocations: 1.344 kB / 0.6797 GB, free: 13.21 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.272e-05/0.4339, allocations: 119.6 kB / 0.6798 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.4339, allocations: 2.281 kB / 0.6798 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.434, allocations: 59.33 kB / 0.6799 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4341, allocations: 1.094 kB / 0.6799 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4341, allocations: 7.938 kB / 0.6799 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4341, allocations: 1.281 kB / 0.6799 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.4343, allocations: 166.9 kB / 0.68 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4343, allocations: 0 / 0.68 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.4343, allocations: 9.781 kB / 0.6801 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4343, allocations: 0 / 0.6801 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.4343, allocations: 1 kB / 0.6801 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4343, allocations: 1.062 kB / 0.6801 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4343, allocations: 3.938 kB / 0.6801 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.4345, allocations: 151.1 kB / 0.6802 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.4345, allocations: 78.17 kB / 0.6803 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.4346, allocations: 9.266 kB / 0.6803 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.756e-05/0.4346, allocations: 0 / 0.6803 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.4346, allocations: 6.25 kB / 0.6803 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.4346, allocations: 1.031 kB / 0.6803 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.4347, allocations: 77.41 kB / 0.6804 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4347, allocations: 1.312 kB / 0.6804 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002513/0.435, allocations: 17.72 kB / 0.6804 GB, free: 12.48 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 (4): * Single equations (assignments): 4 * 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.0005237/0.4355, allocations: 0.7121 MB / 0.6811 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.4356, allocations: 30.48 kB / 0.6811 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4356, allocations: 0 / 0.6811 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.99e-05/0.4356, allocations: 8 kB / 0.6811 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.4359, allocations: 10.31 kB / 0.6811 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.4363, allocations: 160.8 kB / 0.6813 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.4366, allocations: 0.6736 MB / 0.6819 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.839e-05/0.4367, allocations: 10.3 kB / 0.6819 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.4367, allocations: 13.94 kB / 0.682 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.4367, allocations: 4 kB / 0.682 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.4599, allocations: 1.419 MB / 0.6833 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.364/8.824, allocations: 5.188 kB / 0.6834 GB, free: 10.12 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_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_InverseFlowFunctions.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)