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.691/2.691, allocations: 287.3 MB / 302.3 MB, free: 8.234 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.001661/0.001661, allocations: 185.5 kB / 370.8 MB, free: 10.86 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.197/2.197, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001233/0.001233, allocations: 96.39 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005202/0.0005202, allocations: 12.47 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2257, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9561/1.182, allocations: 139.5 MB / 1.115 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/1.182, allocations: 78.58 kB / 1.115 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02723/1.21, allocations: 5.324 MB / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.995e-06/1.21, allocations: 0 / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.69e-05/1.21, allocations: 0 / 1.12 GB, free: 31.17 MB / 0.698 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.0006131/1.21, allocations: 363.5 kB / 1.12 GB, free: 30.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/1.21, allocations: 15.56 kB / 1.12 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/1.21, allocations: 40 kB / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/1.21, allocations: 4.734 kB / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/1.211, allocations: 166.8 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/1.211, allocations: 4 kB / 1.12 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/1.211, allocations: 0 / 1.12 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/1.211, allocations: 41.62 kB / 1.12 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/1.211, allocations: 0 / 1.12 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/1.211, allocations: 3.688 kB / 1.12 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/1.211, allocations: 3.875 kB / 1.12 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.136e-05/1.211, allocations: 21.66 kB / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/1.211, allocations: 255.3 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/1.212, allocations: 43.09 kB / 1.121 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/1.212, allocations: 5.891 kB / 1.121 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/1.212, allocations: 34.41 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.904e-06/1.212, allocations: 0 / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002202/1.212, allocations: 57.84 kB / 1.121 GB, free: 30.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/1.212, allocations: 55.25 kB / 1.121 GB, free: 30.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.645e-05/1.212, allocations: 94.98 kB / 1.121 GB, free: 29.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/1.212, allocations: 29.52 kB / 1.121 GB, free: 29.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/1.212, allocations: 84.05 kB / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/1.212, allocations: 7.094 kB / 1.121 GB, free: 29.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-06/1.212, allocations: 0 / 1.121 GB, free: 29.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.212, allocations: 320.5 kB / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.711e-05/1.212, allocations: 3.906 kB / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/1.212, allocations: 23.11 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.84e-05/1.213, allocations: 10.34 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.213, allocations: 0 / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001363/1.213, allocations: 61.89 kB / 1.121 GB, free: 29.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.213, allocations: 7.719 kB / 1.121 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.213, allocations: 0 / 1.121 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/1.213, allocations: 0 / 1.121 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/1.213, allocations: 7.75 kB / 1.121 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/1.213, allocations: 7.938 kB / 1.121 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.975e-05/1.213, allocations: 32 / 1.121 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/1.213, allocations: 11.2 kB / 1.122 GB, free: 29.47 MB / 0.698 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 0.0001041/1.213, allocations: 118.9 kB / 1.122 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/1.213, allocations: 7.766 kB / 1.122 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/1.213, allocations: 63.45 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/1.213, allocations: 0 / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.213, allocations: 0 / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/1.213, allocations: 3.953 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/1.214, allocations: 162.5 kB / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.214, allocations: 3.844 kB / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/1.214, allocations: 3.844 kB / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/1.214, allocations: 0 / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/1.214, allocations: 3.094 kB / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.214, allocations: 3.875 kB / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.214, allocations: 3.938 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/1.214, allocations: 148.2 kB / 1.122 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/1.214, allocations: 80.48 kB / 1.122 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/1.214, allocations: 4 kB / 1.122 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-05/1.214, allocations: 0 / 1.122 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/1.214, allocations: 7.344 kB / 1.122 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/1.214, allocations: 0 / 1.122 GB, free: 28.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.816e-05/1.214, allocations: 79.16 kB / 1.122 GB, free: 28.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.214, allocations: 0 / 1.122 GB, free: 28.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003559/1.215, allocations: 26.69 kB / 1.122 GB, free: 28.79 MB / 0.698 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.0006534/1.215, allocations: 0.7132 MB / 1.123 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001282/1.215, allocations: 21.41 kB / 1.123 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.215, allocations: 0 / 1.123 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.164e-05/1.215, allocations: 15.19 kB / 1.123 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/1.216, allocations: 0 / 1.123 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/1.216, allocations: 180 kB / 1.123 GB, free: 27.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/1.217, allocations: 0.6761 MB / 1.124 GB, free: 27.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.816e-05/1.217, allocations: 10.92 kB / 1.124 GB, free: 27.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/1.217, allocations: 15.44 kB / 1.124 GB, free: 27.24 MB / 0.698 GB Notification: Performance of SimCode: time 1.363e-06/1.217, allocations: 0 / 1.124 GB, free: 27.24 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/1.241, allocations: 1.182 MB / 1.125 GB, free: 27.09 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/1.241, allocations: 200.3 kB / 1.125 GB, free: 26.85 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.664, allocations: 1.75 kB / 1.125 GB, free: 26.85 MB / 0.698 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)