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.442/2.442, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001497/0.001497, allocations: 176.8 kB / 360.6 MB, free: 7.277 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.056/2.056, allocations: 205.3 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001142, allocations: 97.75 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.7e-05/2.724e-05, allocations: 4 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7837/0.7838, allocations: 115.3 MB / 0.9634 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2348/1.019, allocations: 137.6 MB / 1.098 GB, free: 2.719 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/1.019, allocations: 75.95 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01737/1.036, allocations: 3.422 MB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/1.036, allocations: 0.5312 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.694e-06/1.037, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 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.0004211/1.037, allocations: 345.7 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/1.037, allocations: 16.02 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/1.037, allocations: 4 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/1.037, allocations: 163 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/1.037, allocations: 0.75 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/1.037, allocations: 4 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.392e-05/1.037, allocations: 0.5625 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.076e-05/1.037, allocations: 30.45 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.037, allocations: 0 / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/1.037, allocations: 3.688 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/1.037, allocations: 0.625 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/1.038, allocations: 137.9 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.756e-05/1.038, allocations: 27.98 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/1.038, allocations: 8.922 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/1.038, allocations: 0.875 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/1.038, allocations: 32.44 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/1.038, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001466/1.038, allocations: 45.59 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/1.038, allocations: 51.41 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/1.038, allocations: 89.72 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/1.038, allocations: 29.86 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/1.038, allocations: 80.14 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/1.038, allocations: 3.938 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/1.038, allocations: 0 / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.038, allocations: 314.8 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/1.038, allocations: 4 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/1.038, allocations: 3.938 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.445e-05/1.038, allocations: 7.984 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.038, allocations: 64 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.214e-05/1.039, allocations: 45.56 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.039, allocations: 4 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/1.039, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/1.039, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/1.039, allocations: 11.98 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004484/1.039, allocations: 0.5821 MB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/1.039, allocations: 4.125 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/1.039, allocations: 3.938 kB / 1.103 GB, free: 13.05 MB / 0.7136 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 () * 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.717e-05/1.04, allocations: 114.8 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.217e-05/1.04, allocations: 37.72 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/1.04, allocations: 4 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/1.04, allocations: 37.45 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.04, allocations: 7.984 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.04, allocations: 0 / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/1.04, allocations: 8.859 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/1.04, allocations: 122.2 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.04, allocations: 7.938 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/1.04, allocations: 7.984 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/1.04, allocations: 4 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/1.04, allocations: 0 / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003979/1.041, allocations: 0.5859 MB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.041, allocations: 4.094 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.569e-05/1.041, allocations: 61.16 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/1.041, allocations: 82.33 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/1.041, allocations: 3.75 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.305e-05/1.041, allocations: 0 / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/1.041, allocations: 11.88 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/1.041, allocations: 0 / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.574e-05/1.041, allocations: 83.31 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.041, allocations: 3.938 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002767/1.041, allocations: 19.92 kB / 1.104 GB, free: 11.74 MB / 0.7136 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 () * 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.0005193/1.042, allocations: 0.6008 MB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002356/1.042, allocations: 24.11 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.042, allocations: 3.938 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/1.042, allocations: 11.98 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/1.042, allocations: 6.953 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/1.043, allocations: 88.08 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/1.043, allocations: 0.6768 MB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.337e-05/1.043, allocations: 4.125 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/1.043, allocations: 7.438 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/1.043, allocations: 0 / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/1.076, allocations: 0.7357 MB / 1.106 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002479/1.076, allocations: 178.3 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/3.352, allocations: 4 kB / 1.107 GB, free: 9.336 MB / 0.7136 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)