Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_IDEAS_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.001274/0.001274, allocations: 108 kB / 15.61 MB, free: 152 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.001321/0.001321, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8936/0.8936, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.83 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1342, allocations: 80.92 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002205/0.1365, allocations: 1.238 MB / 0.5857 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.1374, allocations: 0.5893 MB / 0.5863 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.182e-05/0.1374, allocations: 0 / 0.5863 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.1374, allocations: 0 / 0.5863 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.312e-05/0.1375, allocations: 3.984 kB / 0.5863 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.138, allocations: 139.4 kB / 0.5864 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.12e-05/0.1381, allocations: 15.86 kB / 0.5864 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.1381, allocations: 11.98 kB / 0.5864 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.414e-05/0.1381, allocations: 0 / 0.5864 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.339e-05/0.1382, allocations: 4 kB / 0.5864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.1382, allocations: 0 / 0.5864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00047/0.1386, allocations: 339.3 kB / 0.5867 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.1387, allocations: 7.984 kB / 0.5868 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.1387, allocations: 7.922 kB / 0.5868 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.1389, allocations: 144 kB / 0.5869 GB, free: 1.977 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1389, allocations: 0 / 0.5869 GB, free: 1.977 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1389, allocations: 3.938 kB / 0.5869 GB, free: 1.973 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.139, allocations: 0 / 0.5869 GB, free: 1.973 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.000336/0.1393, allocations: 351.4 kB / 0.5872 GB, free: 1.582 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1393, allocations: 12.03 kB / 0.5873 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.618e-05/0.1394, allocations: 30.75 kB / 0.5873 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.986e-05/0.1394, allocations: 4.875 kB / 0.5873 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.491e-05/0.1395, allocations: 160.4 kB / 0.5874 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.1395, allocations: 4.375 kB / 0.5874 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1395, allocations: 4.375 kB / 0.5874 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.432e-05/0.1396, allocations: 33.62 kB / 0.5875 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.1396, allocations: 0 / 0.5875 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-06/0.1396, allocations: 4 kB / 0.5875 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1396, allocations: 0 / 0.5875 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.35e-05/0.1397, allocations: 7.938 kB / 0.5875 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.1398, allocations: 149.7 kB / 0.5876 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.9e-05/0.1399, allocations: 30.61 kB / 0.5877 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.1399, allocations: 8.922 kB / 0.5877 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1399, allocations: 7.922 kB / 0.5877 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1399, allocations: 34.56 kB / 0.5877 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1399, allocations: 0 / 0.5877 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001161/0.1401, allocations: 45.62 kB / 0.5878 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.1401, allocations: 51.53 kB / 0.5878 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.43e-05/0.1401, allocations: 97.86 kB / 0.5879 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1402, allocations: 29.7 kB / 0.5879 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.1402, allocations: 80.14 kB / 0.588 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.1402, allocations: 3.906 kB / 0.588 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.1403, allocations: 17.7 kB / 0.588 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.931e-05/0.1404, allocations: 314.8 kB / 0.5883 GB, free: 304 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.255e-05/0.1404, allocations: 4 kB / 0.5883 GB, free: 300 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-06/0.1404, allocations: 4.125 kB / 0.5883 GB, free: 296 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.571e-05/0.1404, allocations: 12.8 kB / 0.5883 GB, free: 280 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1404, allocations: 0 / 0.5883 GB, free: 280 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.118e-05/0.1405, allocations: 53.56 kB / 0.5884 GB, free: 220 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.1405, allocations: 4 kB / 0.5884 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1405, allocations: 0 / 0.5884 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.1405, allocations: 0 / 0.5884 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1407, allocations: 12 kB / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003178/0.141, allocations: 0.5861 MB / 0.589 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.141, allocations: 0 / 0.589 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.141, allocations: 4.031 kB / 0.589 GB, free: 15.59 MB / 0.4981 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 6.81e-05/0.1411, allocations: 117.7 kB / 0.5891 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.1411, allocations: 3.906 kB / 0.5891 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.963e-05/0.1412, allocations: 48.91 kB / 0.5891 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1412, allocations: 0 / 0.5891 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1412, allocations: 0 / 0.5891 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1413, allocations: 4 kB / 0.5892 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.732e-05/0.1413, allocations: 149.6 kB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1414, allocations: 3.938 kB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.719e-05/0.1414, allocations: 8 kB / 0.5893 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1414, allocations: 0 / 0.5893 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.1415, allocations: 4 kB / 0.5893 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002677/0.1417, allocations: 0.5937 MB / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1417, allocations: 0 / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.367e-05/0.1418, allocations: 57.17 kB / 0.5899 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.1418, allocations: 81.11 kB / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1419, allocations: 11.92 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.378e-05/0.1419, allocations: 0 / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-06/0.1419, allocations: 4.125 kB / 0.59 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.1419, allocations: 0 / 0.59 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.347e-05/0.1419, allocations: 79.28 kB / 0.5901 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.333e-06/0.1419, allocations: 0 / 0.5901 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002114/0.1422, allocations: 15.88 kB / 0.5901 GB, free: 14.29 MB / 0.4981 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.000345/0.1425, allocations: 0.6222 MB / 0.5907 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.1427, allocations: 19.92 kB / 0.5908 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1427, allocations: 3.938 kB / 0.5908 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.1428, allocations: 15.94 kB / 0.5908 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.1429, allocations: 0 / 0.5908 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.1433, allocations: 147.8 kB / 0.5909 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.1435, allocations: 0.6729 MB / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.355e-05/0.1435, allocations: 0 / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.1435, allocations: 7.438 kB / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1436, allocations: 0 / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3776/0.5212, allocations: 1.323 MB / 0.5929 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.62, allocations: 7.781 kB / 0.5929 GB, free: 11.57 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)