Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_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.005197/0.005197, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.00137/0.00137, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002557/0.002557, allocations: 295.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.233/1.233, allocations: 178.5 MB / 0.5074 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 99.78 kB / 0.6943 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.4777, allocations: 89.12 MB / 0.7813 GB, free: 1.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002236/0.48, allocations: 1.288 MB / 0.7826 GB, free: 144 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.4811, allocations: 0.5964 MB / 0.7832 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.4812, allocations: 4 kB / 0.7832 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.4812, allocations: 0 / 0.7832 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.807e-05/0.4813, allocations: 9.297 kB / 0.7832 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.4819, allocations: 141.5 kB / 0.7833 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.85e-05/0.482, allocations: 21 kB / 0.7833 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.482, allocations: 2.156 kB / 0.7833 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.816e-05/0.482, allocations: 11.33 kB / 0.7833 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.882e-05/0.4821, allocations: 8.297 kB / 0.7834 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.4821, allocations: 5.125 kB / 0.7834 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006429/0.4828, allocations: 338 kB / 0.7837 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.4828, allocations: 5.406 kB / 0.7837 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.4829, allocations: 18.56 kB / 0.7837 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.4832, allocations: 146.6 kB / 0.7838 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.4832, allocations: 1.438 kB / 0.7838 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4832, allocations: 0 / 0.7838 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.4832, allocations: 0 / 0.7838 GB, free: 15.24 MB / 0.5606 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.0005629/0.4838, allocations: 363.5 kB / 0.7842 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4838, allocations: 8.469 kB / 0.7842 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.4839, allocations: 36.09 kB / 0.7842 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.4839, allocations: 2.344 kB / 0.7842 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.4841, allocations: 169.6 kB / 0.7844 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4841, allocations: 5.75 kB / 0.7844 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.4841, allocations: 5.781 kB / 0.7844 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.4842, allocations: 41.22 kB / 0.7845 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4843, allocations: 3.938 kB / 0.7845 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.4843, allocations: 9.562 kB / 0.7845 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4843, allocations: 0 / 0.7845 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.331e-05/0.4844, allocations: 20.98 kB / 0.7845 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.4848, allocations: 249.6 kB / 0.7847 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.485, allocations: 52.81 kB / 0.7848 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.4851, allocations: 20.28 kB / 0.7848 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.4851, allocations: 1.188 kB / 0.7848 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.4851, allocations: 35.78 kB / 0.7848 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.4851, allocations: 0 / 0.7848 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002062/0.4854, allocations: 55.91 kB / 0.7849 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.4854, allocations: 52.53 kB / 0.7849 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.169e-05/0.4855, allocations: 97.52 kB / 0.785 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.4856, allocations: 30.92 kB / 0.7851 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.4856, allocations: 88.08 kB / 0.7851 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.4856, allocations: 10.59 kB / 0.7851 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.4857, allocations: 25.86 kB / 0.7852 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4859, allocations: 310.8 kB / 0.7855 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.4859, allocations: 12.67 kB / 0.7855 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.139e-05/0.4859, allocations: 19.84 kB / 0.7855 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.035e-05/0.486, allocations: 29.08 kB / 0.7855 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.486, allocations: 3.938 kB / 0.7855 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001047/0.4861, allocations: 64.97 kB / 0.7856 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4862, allocations: 11.14 kB / 0.7856 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4862, allocations: 1.438 kB / 0.7856 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4862, allocations: 0 / 0.7856 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.76e-05/0.4862, allocations: 7.188 kB / 0.7856 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4863, allocations: 1.406 kB / 0.7856 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/0.4863, allocations: 0.9688 kB / 0.7856 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.4863, allocations: 2.094 kB / 0.7856 GB, free: 13.36 MB / 0.5606 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 0.0001015/0.4864, allocations: 123.9 kB / 0.7857 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.4864, allocations: 5.062 kB / 0.7857 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.4866, allocations: 60.33 kB / 0.7858 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4866, allocations: 5 kB / 0.7858 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.4866, allocations: 0 / 0.7858 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4866, allocations: 0 / 0.7858 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.4869, allocations: 164 kB / 0.786 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4869, allocations: 3.938 kB / 0.786 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.491e-05/0.4869, allocations: 5.656 kB / 0.786 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.4869, allocations: 4 kB / 0.786 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.4869, allocations: 1.344 kB / 0.786 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4869, allocations: 4 kB / 0.786 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4869, allocations: 1.219 kB / 0.786 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.4871, allocations: 155.3 kB / 0.7861 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.4872, allocations: 77.11 kB / 0.7862 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.4872, allocations: 1.312 kB / 0.7862 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.892e-05/0.4872, allocations: 1.438 kB / 0.7862 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.4873, allocations: 5.25 kB / 0.7862 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.4873, allocations: 5.469 kB / 0.7862 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.4873, allocations: 81.8 kB / 0.7863 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4873, allocations: 0 / 0.7863 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002547/0.4876, allocations: 17 kB / 0.7863 GB, free: 12.62 MB / 0.5606 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.0006379/0.4882, allocations: 0.7089 MB / 0.787 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.4884, allocations: 27.62 kB / 0.787 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.4884, allocations: 0 / 0.787 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-05/0.4884, allocations: 12.09 kB / 0.787 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.4886, allocations: 7.734 kB / 0.787 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.4891, allocations: 149.3 kB / 0.7872 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.4895, allocations: 0.6781 MB / 0.7878 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.677e-05/0.4895, allocations: 9.562 kB / 0.7879 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.4896, allocations: 14.28 kB / 0.7879 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.4896, allocations: 0 / 0.7879 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.5122, allocations: 1.408 MB / 0.7892 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/8.392, allocations: 11.7 kB / 0.7893 GB, free: 10.27 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)