Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.809/2.809, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001582/0.001581, allocations: 186.6 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.196/2.196, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001237/0.001237, allocations: 82.25 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007524/0.0007523, allocations: 15.72 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2877, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.109/1.396, allocations: 138.4 MB / 1.113 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/1.397, allocations: 77.98 kB / 1.113 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0159/1.413, allocations: 3.438 MB / 1.117 GB, free: 30.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.435e-06/1.413, allocations: 0 / 1.117 GB, free: 30.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.625e-06/1.413, allocations: 0 / 1.117 GB, free: 30.97 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004167/1.413, allocations: 353.4 kB / 1.117 GB, free: 30.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.413, allocations: 7.625 kB / 1.117 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/1.413, allocations: 33.89 kB / 1.117 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/1.413, allocations: 0 / 1.117 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/1.414, allocations: 167.7 kB / 1.117 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/1.414, allocations: 0 / 1.117 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/1.414, allocations: 0 / 1.117 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.992e-05/1.414, allocations: 35.94 kB / 1.117 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/1.414, allocations: 0 / 1.117 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/1.414, allocations: 4 kB / 1.117 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.414, allocations: 0 / 1.117 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.364e-05/1.414, allocations: 7.812 kB / 1.117 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/1.414, allocations: 155.8 kB / 1.118 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.264e-05/1.414, allocations: 21.39 kB / 1.118 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/1.414, allocations: 0 / 1.118 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/1.414, allocations: 30.56 kB / 1.118 GB, free: 30.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/1.414, allocations: 4 kB / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001549/1.414, allocations: 51.56 kB / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/1.414, allocations: 51.41 kB / 1.118 GB, free: 29.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.508e-05/1.414, allocations: 88.81 kB / 1.118 GB, free: 29.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/1.414, allocations: 25.7 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/1.414, allocations: 82.67 kB / 1.118 GB, free: 29.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/1.414, allocations: 3.5 kB / 1.118 GB, free: 29.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/1.414, allocations: 256 / 1.118 GB, free: 29.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.415, allocations: 318.8 kB / 1.118 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/1.415, allocations: 3.969 kB / 1.118 GB, free: 29.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/1.415, allocations: 6.516 kB / 1.118 GB, free: 29.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.098e-05/1.415, allocations: 11.28 kB / 1.118 GB, free: 29.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.415, allocations: 0 / 1.118 GB, free: 29.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.971e-05/1.415, allocations: 41.23 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.415, allocations: 9.719 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/1.415, allocations: 0 / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/1.415, allocations: 6.812 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/1.415, allocations: 7.625 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004439/1.416, allocations: 0.5822 MB / 1.119 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/1.416, allocations: 3.953 kB / 1.119 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/1.416, allocations: 3.875 kB / 1.119 GB, free: 28.8 MB / 0.698 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.219e-05/1.416, allocations: 111.2 kB / 1.119 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-06/1.416, allocations: 4.094 kB / 1.119 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/1.416, allocations: 49.31 kB / 1.119 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.416, allocations: 3.844 kB / 1.119 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.416, allocations: 0 / 1.119 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.416, allocations: 0 / 1.119 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/1.416, allocations: 159.6 kB / 1.119 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.416, allocations: 3.844 kB / 1.119 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/1.416, allocations: 10.89 kB / 1.119 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/1.416, allocations: 3.984 kB / 1.119 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/1.416, allocations: 4.031 kB / 1.119 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003848/1.417, allocations: 0.585 MB / 1.12 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.417, allocations: 0 / 1.12 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.686e-05/1.417, allocations: 66.34 kB / 1.12 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/1.417, allocations: 88.61 kB / 1.12 GB, free: 27.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/1.417, allocations: 2.297 kB / 1.12 GB, free: 27.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/1.417, allocations: 0 / 1.12 GB, free: 27.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/1.417, allocations: 7.797 kB / 1.12 GB, free: 27.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/1.417, allocations: 0 / 1.12 GB, free: 27.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.422e-05/1.417, allocations: 75.28 kB / 1.12 GB, free: 27.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.417, allocations: 0 / 1.12 GB, free: 27.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002872/1.417, allocations: 17.94 kB / 1.12 GB, free: 27.61 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00051/1.418, allocations: 0.6152 MB / 1.121 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002148/1.418, allocations: 17.11 kB / 1.121 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.418, allocations: 3.375 kB / 1.121 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/1.418, allocations: 14.12 kB / 1.121 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/1.418, allocations: 8.109 kB / 1.121 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/1.419, allocations: 150.1 kB / 1.121 GB, free: 26.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/1.419, allocations: 0.6754 MB / 1.121 GB, free: 26.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.918e-05/1.419, allocations: 0 / 1.121 GB, free: 26.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/1.419, allocations: 7.438 kB / 1.121 GB, free: 26.14 MB / 0.698 GB Notification: Performance of SimCode: time 7.31e-07/1.419, allocations: 0 / 1.121 GB, free: 26.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/1.443, allocations: 1.149 MB / 1.123 GB, free: 25.98 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/1.444, allocations: 245.2 kB / 1.123 GB, free: 25.74 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/3.707, allocations: 0 / 1.123 GB, free: 25.74 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)