Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 249.3 MB / 261.8 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000973/0.0009729, allocations: 170.2 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.2 MB / 0.572 GB, free: 10.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008063/0.0008063, allocations: 86.53 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.363e-05, allocations: 8 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2015, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7061/0.9076, allocations: 132.1 MB / 1.021 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.9079, allocations: 89.31 kB / 1.021 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009804/0.9177, allocations: 3.441 MB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 7.053e-06/0.9177, allocations: 3.984 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.9177, allocations: 0 / 1.024 GB, free: 15.59 MB / 0.6511 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.0002689/0.918, allocations: 341.6 kB / 1.025 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.9181, allocations: 12.03 kB / 1.025 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.9181, allocations: 34.56 kB / 1.025 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.064e-05/0.9181, allocations: 0 / 1.025 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.83e-05/0.9183, allocations: 163 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.9183, allocations: 3.812 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.9183, allocations: 7.984 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.315e-05/0.9184, allocations: 33.64 kB / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.9184, allocations: 3.984 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.9184, allocations: 0 / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.9184, allocations: 0 / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.429e-05/0.9184, allocations: 8 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.9186, allocations: 148.8 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 4.641e-05/0.9187, allocations: 25.92 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.9187, allocations: 4.859 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.9187, allocations: 4.062 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.9187, allocations: 38.48 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.9188, allocations: 4 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.000117/0.9189, allocations: 37.02 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.9189, allocations: 51.41 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.943e-05/0.919, allocations: 85 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.919, allocations: 29.7 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.919, allocations: 83.77 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.9191, allocations: 7.891 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.9191, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.9192, allocations: 319 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.9192, allocations: 4 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-06/0.9192, allocations: 0 / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.674e-05/0.9192, allocations: 7.375 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9192, allocations: 0 / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.272e-05/0.9193, allocations: 41.58 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.9193, allocations: 8 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.9193, allocations: 3.984 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.9193, allocations: 4.094 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.9195, allocations: 8 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003117/0.9198, allocations: 0.5869 MB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.656e-05/0.9198, allocations: 3.938 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.9198, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.6511 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 5.92e-05/0.9199, allocations: 115.3 kB / 1.027 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-06/0.9199, allocations: 4.094 kB / 1.027 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.972e-05/0.92, allocations: 45.53 kB / 1.027 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.92, allocations: 0 / 1.027 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.9201, allocations: 4 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.9201, allocations: 7.938 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.073e-05/0.9202, allocations: 148.4 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.9202, allocations: 0 / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.992e-05/0.9202, allocations: 11.98 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.9203, allocations: 0 / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.9203, allocations: 4.031 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000253/0.9205, allocations: 0.5896 MB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9205, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.861e-05/0.9206, allocations: 60.5 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.9206, allocations: 84.33 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.9207, allocations: 4 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.9207, allocations: 7.953 kB / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.9207, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.9207, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.571e-05/0.9207, allocations: 79.28 kB / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9207, allocations: 0 / 1.028 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001945/0.9209, allocations: 15.92 kB / 1.028 GB, free: 12.02 MB / 0.6511 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.000358/0.9213, allocations: 0.6188 MB / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.9215, allocations: 15.98 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9215, allocations: 0 / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.257e-05/0.9216, allocations: 18.98 kB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.9217, allocations: 8.047 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.9219, allocations: 95.27 kB / 1.028 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.9221, allocations: 0.677 MB / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.479e-05/0.9221, allocations: 0 / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.9222, allocations: 11.42 kB / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.9222, allocations: 0 / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01073/0.9329, allocations: 1.153 MB / 1.03 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.9331, allocations: 222.2 kB / 1.03 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2.463, allocations: 0 / 1.03 GB, free: 9.344 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)