Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.001526/0.001526, allocations: 182.3 kB / 371.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0008752/0.0008752, allocations: 89.47 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.311e-05/4.313e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2529, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7357/0.9887, allocations: 139.4 MB / 1.116 GB, free: 44.33 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.9889, allocations: 79.86 kB / 1.116 GB, free: 44.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.009061/0.998, allocations: 3.444 MB / 1.119 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.833e-06/0.998, allocations: 0 / 1.119 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.9981, allocations: 4 kB / 1.119 GB, free: 42.27 MB / 0.7448 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.0002454/0.9983, allocations: 337.8 kB / 1.12 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.9984, allocations: 12.03 kB / 1.12 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.9984, allocations: 33.94 kB / 1.12 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.9984, allocations: 5.719 kB / 1.12 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.346e-05/0.9985, allocations: 163.7 kB / 1.12 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.9986, allocations: 0 / 1.12 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.9986, allocations: 0.6875 kB / 1.12 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.845e-05/0.9987, allocations: 29.7 kB / 1.12 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.9987, allocations: 0 / 1.12 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.9987, allocations: 0 / 1.12 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.9987, allocations: 4 kB / 1.12 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.729e-05/0.9987, allocations: 15.17 kB / 1.12 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.9989, allocations: 151.7 kB / 1.12 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.535e-05/0.999, allocations: 22.48 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.999, allocations: 8.922 kB / 1.12 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.999, allocations: 4.453 kB / 1.12 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.999, allocations: 35.44 kB / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.9991, allocations: 0 / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000113/0.9992, allocations: 41.39 kB / 1.12 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.9992, allocations: 51.41 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.695e-05/0.9993, allocations: 92.94 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.9993, allocations: 25.7 kB / 1.12 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.686e-05/0.9993, allocations: 83.56 kB / 1.121 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.9993, allocations: 10.22 kB / 1.121 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.9993, allocations: 4.156 kB / 1.121 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.9994, allocations: 310.8 kB / 1.121 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-06/0.9994, allocations: 0 / 1.121 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-06/0.9994, allocations: 4 kB / 1.121 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.5e-05/0.9994, allocations: 3.953 kB / 1.121 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.9995, allocations: 4 kB / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.361e-05/0.9995, allocations: 45.62 kB / 1.121 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.9995, allocations: 4.938 kB / 1.121 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.9996, allocations: 4.094 kB / 1.121 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.9996, allocations: 0 / 1.121 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.9997, allocations: 11.28 kB / 1.121 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002734/1, allocations: 0.5812 MB / 1.122 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/1, allocations: 7.984 kB / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/1, allocations: 0.5 kB / 1.122 GB, free: 40.02 MB / 0.7448 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.61e-05/1, allocations: 105.1 kB / 1.122 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-06/1, allocations: 0 / 1.122 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/1, allocations: 47.91 kB / 1.122 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1, allocations: 4.562 kB / 1.122 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1, allocations: 0 / 1.122 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1, allocations: 6.328 kB / 1.122 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.519e-05/1, allocations: 154 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1, allocations: 0 / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/1, allocations: 11.33 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/1, allocations: 0.75 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/1, allocations: 0.625 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002023/1.001, allocations: 0.5928 MB / 1.122 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.001, allocations: 0 / 1.122 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.77e-05/1.001, allocations: 65.02 kB / 1.122 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/1.001, allocations: 80.58 kB / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/1.001, allocations: 4.812 kB / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.356e-05/1.001, allocations: 0 / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/1.001, allocations: 4.609 kB / 1.123 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/1.001, allocations: 11.88 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.359e-05/1.001, allocations: 75.28 kB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/1.001, allocations: 0 / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002212/1.001, allocations: 11.94 kB / 1.123 GB, free: 38.78 MB / 0.7448 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.0003319/1.001, allocations: 0.6214 MB / 1.123 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001556/1.002, allocations: 19.06 kB / 1.123 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.002, allocations: 0.9375 kB / 1.123 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.534e-05/1.002, allocations: 15.31 kB / 1.123 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/1.002, allocations: 8.656 kB / 1.123 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/1.002, allocations: 90.56 kB / 1.123 GB, free: 37.99 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/1.002, allocations: 0.6766 MB / 1.124 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.656e-05/1.002, allocations: 0 / 1.124 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/1.002, allocations: 11.44 kB / 1.124 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.002, allocations: 0 / 1.124 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/1.015, allocations: 1.123 MB / 1.125 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/1.016, allocations: 214.8 kB / 1.125 GB, free: 36.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.388/2.403, allocations: 0 / 1.125 GB, free: 36.48 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)