Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.626/2.626, allocations: 287.5 MB / 302.4 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001326, allocations: 171.7 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 90.58 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007375/0.0007378, allocations: 16.72 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2056, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00139/0.2071, allocations: 1.005 MB / 0.9794 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009952/0.2081, allocations: 0.5425 MB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.205e-05/0.2081, allocations: 0 / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.2082, allocations: 3.984 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.534e-05/0.2082, allocations: 3.938 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.2088, allocations: 125.2 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.9e-05/0.2088, allocations: 15.92 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.2089, allocations: 0 / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.325e-05/0.2089, allocations: 11.94 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.976e-05/0.209, allocations: 11.92 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.209, allocations: 4 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006289/0.2096, allocations: 339.3 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.2097, allocations: 0 / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.2097, allocations: 33.64 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.2099, allocations: 96.09 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2099, allocations: 4 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.21, allocations: 0 / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.21, allocations: 0 / 0.9806 GB, free: 26.06 MB / 0.6198 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.0003538/0.2103, allocations: 359.2 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2104, allocations: 8.031 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.123e-05/0.2104, allocations: 34.55 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.2105, allocations: 4 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.739e-05/0.2105, allocations: 167 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2106, allocations: 0 / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.2106, allocations: 8 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.2107, allocations: 37.69 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.2107, allocations: 4 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.2107, allocations: 3.938 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2107, allocations: 3.938 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.094e-05/0.2108, allocations: 15.98 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.2111, allocations: 252.9 kB / 0.9814 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.2114, allocations: 50.69 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.2114, allocations: 16.86 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.2115, allocations: 3.938 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.2115, allocations: 34.5 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.2115, allocations: 0 / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001867/0.2117, allocations: 61.67 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.2117, allocations: 51.41 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/0.2118, allocations: 109.8 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.2118, allocations: 25.7 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.2118, allocations: 87.98 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.2119, allocations: 15.81 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.2119, allocations: 0 / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.2119, allocations: 314.8 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.212, allocations: 4 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.212, allocations: 29.66 kB / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.545e-05/0.2121, allocations: 11.98 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2121, allocations: 0 / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001088/0.2122, allocations: 53.69 kB / 0.9823 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2122, allocations: 8 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2122, allocations: 0 / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2123, allocations: 0 / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.181e-05/0.2123, allocations: 11.94 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2124, allocations: 0 / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.2124, allocations: 32 / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.2124, allocations: 11.95 kB / 0.9823 GB, free: 24.07 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/0.2125, allocations: 105.8 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.2125, allocations: 4 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.2127, allocations: 65.08 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2127, allocations: 4 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2127, allocations: 0 / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2127, allocations: 0 / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.2129, allocations: 169.5 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2129, allocations: 0 / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.213, allocations: 8 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.213, allocations: 0 / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.213, allocations: 0 / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.213, allocations: 3.984 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.213, allocations: 0 / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.2131, allocations: 155.4 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.2132, allocations: 77.11 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.2132, allocations: 8 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.2133, allocations: 0 / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.2133, allocations: 0 / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.2133, allocations: 0 / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.516e-05/0.2133, allocations: 87.78 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.863e-06/0.2133, allocations: 0 / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002994/0.2136, allocations: 19.94 kB / 0.983 GB, free: 23.27 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003936/0.214, allocations: 0.7008 MB / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.2142, allocations: 31.91 kB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2142, allocations: 0 / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.019e-05/0.2142, allocations: 12 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.2145, allocations: 0 / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.2149, allocations: 174.3 kB / 0.9839 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.2151, allocations: 0.677 MB / 0.9845 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.927e-05/0.2151, allocations: 7.984 kB / 0.9845 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.2152, allocations: 11.44 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.2152, allocations: 0 / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.2336, allocations: 1.205 MB / 0.9857 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/0.2338, allocations: 215.5 kB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/2.528, allocations: 3.938 kB / 0.9859 GB, free: 20.29 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)