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.0009884/0.0009885, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007959/0.007959, allocations: 169.6 kB / 16.27 MB, free: 6.66 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.313/1.313, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001674/0.001674, allocations: 275.1 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9025/0.9025, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004284/0.0004284, allocations: 12.12 kB / 0.5988 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1358, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001062/0.1369, allocations: 0.9617 MB / 0.6862 GB, free: 14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008497/0.1377, allocations: 0.605 MB / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.047e-05/0.1377, allocations: 0 / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.102e-05/0.1378, allocations: 0 / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.262e-05/0.1378, allocations: 3.984 kB / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.1382, allocations: 122.9 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.217e-05/0.1382, allocations: 8.562 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.186e-05/0.1382, allocations: 0 / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.512e-05/0.1383, allocations: 4.75 kB / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.284e-05/0.1383, allocations: 7.938 kB / 0.6869 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.1383, allocations: 1.188 kB / 0.6869 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/0.1387, allocations: 351.3 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.253e-06/0.1388, allocations: 0 / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.1388, allocations: 26.27 kB / 0.6873 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.139, allocations: 148.8 kB / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.139, allocations: 0 / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.139, allocations: 0 / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.139, allocations: 1.75 kB / 0.6874 GB, free: 12.73 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.000297/0.1393, allocations: 347.5 kB / 0.6877 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1394, allocations: 8.031 kB / 0.6877 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.1394, allocations: 35.72 kB / 0.6878 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.88e-05/0.1394, allocations: 4.938 kB / 0.6878 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.721e-05/0.1395, allocations: 164.4 kB / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1396, allocations: 7.828 kB / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.1396, allocations: 384 / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.586e-05/0.1396, allocations: 34.2 kB / 0.688 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.1397, allocations: 3.938 kB / 0.688 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.1397, allocations: 0 / 0.688 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1397, allocations: 0 / 0.688 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.166e-05/0.1397, allocations: 4 kB / 0.688 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.1398, allocations: 154.3 kB / 0.6881 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.657e-05/0.1399, allocations: 23.23 kB / 0.6882 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.1399, allocations: 9.484 kB / 0.6882 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1399, allocations: 6.375 kB / 0.6882 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.14, allocations: 34.5 kB / 0.6882 GB, free: 11.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.14, allocations: 0 / 0.6882 GB, free: 11.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001151/0.1401, allocations: 53.53 kB / 0.6883 GB, free: 11.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.1401, allocations: 52.16 kB / 0.6883 GB, free: 11.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.694e-05/0.1402, allocations: 90.64 kB / 0.6884 GB, free: 11.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.1402, allocations: 31.42 kB / 0.6884 GB, free: 11.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.1402, allocations: 80.14 kB / 0.6885 GB, free: 11.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.1403, allocations: 7.984 kB / 0.6885 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.1403, allocations: 9.719 kB / 0.6885 GB, free: 11.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.1404, allocations: 311.4 kB / 0.6888 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.1404, allocations: 4.656 kB / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.797e-06/0.1404, allocations: 5.812 kB / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.75e-05/0.1405, allocations: 16.86 kB / 0.6888 GB, free: 11.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1405, allocations: 3.938 kB / 0.6888 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.846e-05/0.1405, allocations: 44.28 kB / 0.6889 GB, free: 11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1405, allocations: 9.656 kB / 0.6889 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.1406, allocations: 0 / 0.6889 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.1406, allocations: 0 / 0.6889 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1407, allocations: 8 kB / 0.6889 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003166/0.141, allocations: 0.5907 MB / 0.6895 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.1411, allocations: 4.562 kB / 0.6895 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.1411, allocations: 1.125 kB / 0.6895 GB, free: 10.37 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.257e-05/0.1412, allocations: 112 kB / 0.6896 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-06/0.1412, allocations: 0 / 0.6896 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.426e-05/0.1413, allocations: 57.23 kB / 0.6896 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1413, allocations: 0 / 0.6896 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1413, allocations: 0 / 0.6896 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1413, allocations: 0 / 0.6896 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.488e-05/0.1414, allocations: 161.5 kB / 0.6898 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1414, allocations: 3.938 kB / 0.6898 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.1415, allocations: 8 kB / 0.6898 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1415, allocations: 0 / 0.6898 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.1415, allocations: 0 / 0.6898 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000264/0.1418, allocations: 0.5899 MB / 0.6904 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1418, allocations: 3.938 kB / 0.6904 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.787e-05/0.1419, allocations: 69.05 kB / 0.6905 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.1419, allocations: 77.11 kB / 0.6905 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.1419, allocations: 3.984 kB / 0.6905 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/0.1419, allocations: 4 kB / 0.6905 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.1419, allocations: 8.062 kB / 0.6905 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.142, allocations: 4 kB / 0.6906 GB, free: 9.152 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.842e-05/0.142, allocations: 75.28 kB / 0.6906 GB, free: 9.078 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.142, allocations: 0 / 0.6906 GB, free: 9.078 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001851/0.1422, allocations: 12 kB / 0.6906 GB, free: 9.066 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.0003207/0.1425, allocations: 0.6087 MB / 0.6912 GB, free: 8.426 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.1427, allocations: 23.92 kB / 0.6913 GB, free: 8.402 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1427, allocations: 0 / 0.6913 GB, free: 8.402 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.135e-05/0.1428, allocations: 12 kB / 0.6913 GB, free: 8.391 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.1429, allocations: 12.62 kB / 0.6913 GB, free: 8.379 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.1432, allocations: 142.9 kB / 0.6914 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.1434, allocations: 0.6731 MB / 0.6921 GB, free: 7.504 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.374e-05/0.1435, allocations: 3.938 kB / 0.6921 GB, free: 7.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.1435, allocations: 11.42 kB / 0.6921 GB, free: 7.488 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1435, allocations: 0 / 0.6921 GB, free: 7.488 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.1545, allocations: 1.156 MB / 0.6932 GB, free: 6.586 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/0.1548, allocations: 286.3 kB / 0.6935 GB, free: 6.199 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/1.637, allocations: 0 / 0.6935 GB, free: 6.199 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)