Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 193.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 283.2 kB / 290.2 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8872/0.8872, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 91.02 kB / 0.5946 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1302, allocations: 86.98 MB / 0.6795 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002048/0.1322, allocations: 1.299 MB / 0.6808 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008509/0.1331, allocations: 0.6186 MB / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.156e-05/0.1331, allocations: 0.6562 kB / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.1332, allocations: 4 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.989e-05/0.1332, allocations: 2.469 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.1336, allocations: 114.3 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.354e-05/0.1336, allocations: 15.92 kB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.265e-05/0.1336, allocations: 0 / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.505e-05/0.1337, allocations: 6.062 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.095e-05/0.1337, allocations: 3.938 kB / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.557e-06/0.1337, allocations: 0 / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004272/0.1342, allocations: 343.3 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.1342, allocations: 7.984 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.1342, allocations: 4.719 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.1344, allocations: 139.9 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.1344, allocations: 0.875 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1344, allocations: 0 / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.1344, allocations: 0 / 0.682 GB, free: 14.55 MB / 494.1 MB 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.000316/0.1348, allocations: 353.4 kB / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1348, allocations: 12.03 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.717e-05/0.1348, allocations: 30.75 kB / 0.6824 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.806e-05/0.1349, allocations: 0.9375 kB / 0.6824 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.403e-05/0.1349, allocations: 165.1 kB / 0.6826 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.135, allocations: 4.375 kB / 0.6826 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.135, allocations: 8.375 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.004e-05/0.1351, allocations: 34.14 kB / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.1351, allocations: 3.938 kB / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.1351, allocations: 4 kB / 0.6826 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1351, allocations: 0 / 0.6826 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.054e-05/0.1351, allocations: 0 / 0.6826 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.1352, allocations: 157.6 kB / 0.6828 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.533e-05/0.1353, allocations: 22.61 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.1353, allocations: 16.86 kB / 0.6828 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.1353, allocations: 3.938 kB / 0.6828 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.1354, allocations: 30.56 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.1354, allocations: 4 kB / 0.6828 GB, free: 13.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001194/0.1355, allocations: 45.62 kB / 0.6829 GB, free: 13.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.1355, allocations: 51.53 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.378e-05/0.1356, allocations: 97.86 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.1356, allocations: 25.7 kB / 0.6831 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.63e-05/0.1356, allocations: 80.14 kB / 0.6831 GB, free: 13.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.1357, allocations: 7.891 kB / 0.6831 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.1357, allocations: 17.72 kB / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.451e-05/0.1358, allocations: 310.8 kB / 0.6835 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.1358, allocations: 4 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/0.1358, allocations: 8.062 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.651e-05/0.1358, allocations: 12.86 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1359, allocations: 0 / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.538e-05/0.1359, allocations: 41.69 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.1359, allocations: 7.938 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1359, allocations: 4 kB / 0.6835 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.136, allocations: 0 / 0.6835 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1361, allocations: 11.98 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003028/0.1364, allocations: 0.59 MB / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.1364, allocations: 0 / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.1364, allocations: 0 / 0.6841 GB, free: 12.16 MB / 494.1 MB 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 6.342e-05/0.1365, allocations: 115.1 kB / 0.6842 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-06/0.1365, allocations: 0 / 0.6842 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.79e-05/0.1366, allocations: 48.91 kB / 0.6843 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1366, allocations: 0 / 0.6843 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1366, allocations: 0 / 0.6843 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1366, allocations: 11.92 kB / 0.6843 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.27e-05/0.1367, allocations: 161.5 kB / 0.6844 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1368, allocations: 0 / 0.6844 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.75e-05/0.1368, allocations: 8 kB / 0.6844 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1368, allocations: 0 / 0.6844 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.1368, allocations: 7.984 kB / 0.6845 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002886/0.1371, allocations: 0.586 MB / 0.685 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1372, allocations: 7.875 kB / 0.685 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.238e-05/0.1372, allocations: 61.11 kB / 0.6851 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.1373, allocations: 81.09 kB / 0.6852 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.1373, allocations: 4 kB / 0.6852 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.402e-05/0.1373, allocations: 0 / 0.6852 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.1373, allocations: 8.062 kB / 0.6852 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.1373, allocations: 0 / 0.6852 GB, free: 10.94 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.05e-05/0.1373, allocations: 79.28 kB / 0.6853 GB, free: 10.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1374, allocations: 0 / 0.6853 GB, free: 10.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001807/0.1375, allocations: 8 kB / 0.6853 GB, free: 10.86 MB / 494.1 MB 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.000329/0.1379, allocations: 0.6165 MB / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.138, allocations: 19.92 kB / 0.6859 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.138, allocations: 0 / 0.6859 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.1381, allocations: 19.98 kB / 0.6859 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.1383, allocations: 5.766 kB / 0.6859 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.1386, allocations: 142.1 kB / 0.686 GB, free: 9.984 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.1388, allocations: 0.6692 MB / 0.6867 GB, free: 9.289 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.618e-05/0.1388, allocations: 4 kB / 0.6867 GB, free: 9.285 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.59e-05/0.1389, allocations: 7.438 kB / 0.6867 GB, free: 9.281 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1389, allocations: 0 / 0.6867 GB, free: 9.281 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01109/0.15, allocations: 1.212 MB / 0.6879 GB, free: 8.297 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.1502, allocations: 295.4 kB / 0.6882 GB, free: 7.902 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/1.701, allocations: 6.531 kB / 0.6882 GB, free: 7.898 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)