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.298/1.298, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000917/0.0009171, allocations: 181.3 kB / 325.9 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205 MB / 0.576 GB, free: 20.95 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.0006112/0.0006112, allocations: 90.3 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002668, allocations: 7.312 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1367, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.000925/0.1377, allocations: 0.9901 MB / 0.8972 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006592/0.1383, allocations: 0.6127 MB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.074e-05/0.1384, allocations: 0 / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.1384, allocations: 0 / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.074e-05/0.1384, allocations: 0 / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.1388, allocations: 119.6 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 2.865e-05/0.1388, allocations: 11.92 kB / 0.8979 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.291e-05/0.1388, allocations: 0 / 0.8979 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.417e-05/0.1389, allocations: 7.984 kB / 0.8979 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.093e-05/0.1389, allocations: 0 / 0.8979 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.1389, allocations: 4 kB / 0.8979 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.1392, allocations: 343.3 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.1392, allocations: 3.984 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.44e-05/0.1393, allocations: 11.98 kB / 0.8983 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.1394, allocations: 143.9 kB / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1395, allocations: 0 / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.021e-06/0.1395, allocations: 0 / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.1395, allocations: 0 / 0.8984 GB, free: 65.79 MB / 0.6042 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.0002119/0.1397, allocations: 343.5 kB / 0.8987 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.1397, allocations: 8.031 kB / 0.8987 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.142e-05/0.1397, allocations: 30.75 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.715e-05/0.1398, allocations: 4.938 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.292e-05/0.1398, allocations: 164.4 kB / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.613e-06/0.1398, allocations: 384 / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-06/0.1398, allocations: 384 / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.336e-05/0.1399, allocations: 42.19 kB / 0.899 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.1399, allocations: 3.938 kB / 0.899 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.14, allocations: 0 / 0.899 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.14, allocations: 0 / 0.899 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.935e-05/0.14, allocations: 4 kB / 0.899 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.574e-05/0.1401, allocations: 153.7 kB / 0.8991 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.435e-05/0.1401, allocations: 22.61 kB / 0.8991 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.1401, allocations: 12.92 kB / 0.8991 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.1402, allocations: 0 / 0.8991 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.014e-05/0.1402, allocations: 34.5 kB / 0.8992 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.1402, allocations: 0 / 0.8992 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 9.598e-05/0.1403, allocations: 45.62 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.613e-05/0.1403, allocations: 55.53 kB / 0.8993 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.669e-05/0.1403, allocations: 101.8 kB / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.189e-06/0.1404, allocations: 29.64 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.1e-05/0.1404, allocations: 80.14 kB / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.1404, allocations: 3.906 kB / 0.8995 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.1404, allocations: 9.719 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.089e-05/0.1404, allocations: 318.8 kB / 0.8998 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.1405, allocations: 4 kB / 0.8998 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.1405, allocations: 8.062 kB / 0.8998 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.007e-05/0.1405, allocations: 16.86 kB / 0.8998 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1405, allocations: 0 / 0.8998 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.355e-05/0.1405, allocations: 33.7 kB / 0.8999 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.1406, allocations: 7.938 kB / 0.8999 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1406, allocations: 3.984 kB / 0.8999 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.1406, allocations: 0 / 0.8999 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1407, allocations: 8 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001806/0.1409, allocations: 0.5938 MB / 0.9005 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.1409, allocations: 3.938 kB / 0.9005 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.1409, allocations: 0 / 0.9005 GB, free: 63.42 MB / 0.6042 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.141, allocations: 117.8 kB / 0.9006 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-06/0.141, allocations: 4.031 kB / 0.9006 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.988e-05/0.1411, allocations: 48.91 kB / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1411, allocations: 0 / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1411, allocations: 0 / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1411, allocations: 0 / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.147e-05/0.1411, allocations: 149.6 kB / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1411, allocations: 4 kB / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.1412, allocations: 19.91 kB / 0.9008 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1412, allocations: 0 / 0.9008 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-06/0.1412, allocations: 0 / 0.9008 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001342/0.1414, allocations: 0.5861 MB / 0.9014 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1414, allocations: 3.938 kB / 0.9014 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.318e-05/0.1414, allocations: 73 kB / 0.9014 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.1414, allocations: 77.11 kB / 0.9015 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.1414, allocations: 0 / 0.9015 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.245e-05/0.1415, allocations: 0 / 0.9015 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.1415, allocations: 16.05 kB / 0.9015 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.1415, allocations: 0 / 0.9015 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.281e-05/0.1415, allocations: 79.22 kB / 0.9016 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1415, allocations: 0 / 0.9016 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001556/0.1417, allocations: 12 kB / 0.9016 GB, free: 62.11 MB / 0.6042 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001928/0.1419, allocations: 0.6125 MB / 0.9022 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.142, allocations: 23.92 kB / 0.9022 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.142, allocations: 0 / 0.9022 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.145e-05/0.1421, allocations: 16.02 kB / 0.9022 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.1422, allocations: 8.547 kB / 0.9023 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.1425, allocations: 138.2 kB / 0.9024 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.369e-05/0.1426, allocations: 0.677 MB / 0.903 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.374e-05/0.1426, allocations: 0 / 0.903 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.1426, allocations: 11.44 kB / 0.9031 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1426, allocations: 0 / 0.9031 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2418/0.3844, allocations: 1.152 MB / 0.9042 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.3846, allocations: 279.5 kB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.106, allocations: 0 / 0.9044 GB, free: 59.25 MB / 0.6042 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)