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.001419/0.001419, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 291 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9162/0.9162, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 97.52 kB / 0.5953 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1219, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002197/0.1241, allocations: 1.233 MB / 0.6815 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008465/0.125, allocations: 0.5985 MB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.125, allocations: 0 / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.219e-05/0.1251, allocations: 4 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.1251, allocations: 0 / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.1256, allocations: 135.4 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.087e-05/0.1257, allocations: 7.938 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.1257, allocations: 11.98 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.005e-05/0.1258, allocations: 4 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.465e-05/0.1258, allocations: 7.938 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.1258, allocations: 0 / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000617/0.1265, allocations: 347.3 kB / 0.6826 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.1265, allocations: 4 kB / 0.6826 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.1265, allocations: 0 / 0.6826 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.1268, allocations: 147.9 kB / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1268, allocations: 0 / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1268, allocations: 0 / 0.6827 GB, free: 14.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.1268, allocations: 0 / 0.6827 GB, free: 14.1 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.0003224/0.1271, allocations: 355.4 kB / 0.6831 GB, free: 13.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1272, allocations: 12.03 kB / 0.6831 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.689e-05/0.1272, allocations: 30.75 kB / 0.6831 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.1e-05/0.1272, allocations: 4.938 kB / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.521e-05/0.1273, allocations: 160.4 kB / 0.6833 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.1273, allocations: 384 / 0.6833 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.1273, allocations: 4.375 kB / 0.6833 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.43e-05/0.1274, allocations: 30.25 kB / 0.6833 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1274, allocations: 7.938 kB / 0.6833 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1274, allocations: 0 / 0.6833 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1275, allocations: 3.938 kB / 0.6833 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.37e-05/0.1275, allocations: 4 kB / 0.6833 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.1276, allocations: 153.6 kB / 0.6834 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.479e-05/0.1277, allocations: 30.59 kB / 0.6835 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.1277, allocations: 4.859 kB / 0.6835 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.1277, allocations: 7.922 kB / 0.6835 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.1277, allocations: 38.56 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1277, allocations: 0 / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001247/0.1279, allocations: 53.56 kB / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.1279, allocations: 51.41 kB / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.264e-05/0.128, allocations: 93.86 kB / 0.6837 GB, free: 12.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.128, allocations: 29.7 kB / 0.6837 GB, free: 12.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.128, allocations: 80.14 kB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.128, allocations: 3.906 kB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.1281, allocations: 13.72 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.406e-05/0.1282, allocations: 319.1 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.1282, allocations: 8 kB / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-06/0.1282, allocations: 0 / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.891e-05/0.1282, allocations: 12.8 kB / 0.6842 GB, free: 12.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1282, allocations: 0 / 0.6842 GB, free: 12.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.781e-05/0.1283, allocations: 41.7 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1283, allocations: 7.938 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1283, allocations: 0 / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1284, allocations: 8.078 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.1285, allocations: 8 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002991/0.1288, allocations: 0.5821 MB / 0.6848 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.1288, allocations: 0 / 0.6848 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.1289, allocations: 4.031 kB / 0.6848 GB, free: 11.71 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.092e-05/0.1289, allocations: 116.7 kB / 0.6849 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.1289, allocations: 8.094 kB / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.086e-05/0.129, allocations: 40.83 kB / 0.685 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.129, allocations: 3.984 kB / 0.685 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1291, allocations: 4 kB / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1291, allocations: 0 / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.861e-05/0.1291, allocations: 149.6 kB / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1291, allocations: 4 kB / 0.6851 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-05/0.1292, allocations: 11.98 kB / 0.6851 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1292, allocations: 0 / 0.6851 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.1293, allocations: 8.031 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002461/0.1295, allocations: 0.5859 MB / 0.6857 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1295, allocations: 3.938 kB / 0.6857 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.614e-05/0.1296, allocations: 65.09 kB / 0.6858 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.1296, allocations: 77.23 kB / 0.6858 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.1296, allocations: 15.94 kB / 0.6859 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.35e-05/0.1297, allocations: 0 / 0.6859 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.1297, allocations: 3.938 kB / 0.6859 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1297, allocations: 3.984 kB / 0.6859 GB, free: 10.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.612e-05/0.1297, allocations: 83.22 kB / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1297, allocations: 0 / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001858/0.1299, allocations: 4 kB / 0.6859 GB, free: 10.41 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.0003094/0.1302, allocations: 0.6087 MB / 0.6865 GB, free: 9.766 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.1304, allocations: 19.98 kB / 0.6866 GB, free: 9.746 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1304, allocations: 0 / 0.6866 GB, free: 9.746 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.1305, allocations: 19.92 kB / 0.6866 GB, free: 9.727 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.1306, allocations: 8.094 kB / 0.6866 GB, free: 9.719 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.131, allocations: 131.7 kB / 0.6867 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.1312, allocations: 0.6768 MB / 0.6874 GB, free: 8.848 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.378e-05/0.1312, allocations: 0 / 0.6874 GB, free: 8.848 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.1312, allocations: 7.438 kB / 0.6874 GB, free: 8.84 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1312, allocations: 0 / 0.6874 GB, free: 8.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2491/0.3803, allocations: 1.342 MB / 0.6887 GB, free: 7.707 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.03, allocations: 16.48 kB / 0.6887 GB, free: 7.695 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)