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.0008612/0.0008612, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005195/0.005195, allocations: 171.4 kB / 16.26 MB, free: 6.676 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.252/1.252, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8429/0.8429, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002863, allocations: 8 kB / 0.5077 GB, free: 4.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1562, allocations: 82.31 MB / 0.5881 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001251/0.1575, allocations: 0.9672 MB / 0.589 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009237/0.1585, allocations: 0.5934 MB / 0.5896 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.753e-05/0.1585, allocations: 0 / 0.5896 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.1585, allocations: 3.938 kB / 0.5896 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.704e-05/0.1586, allocations: 4 kB / 0.5896 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.159, allocations: 126.7 kB / 0.5897 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.549e-05/0.1591, allocations: 11.88 kB / 0.5897 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.634e-05/0.1592, allocations: 8 kB / 0.5898 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.686e-05/0.1592, allocations: 0 / 0.5898 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.1592, allocations: 4 kB / 0.5898 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.958e-06/0.1592, allocations: 0 / 0.5898 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006466/0.1599, allocations: 343.3 kB / 0.5901 GB, free: 484 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.1599, allocations: 3.984 kB / 0.5901 GB, free: 480 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.16, allocations: 37.64 kB / 0.5901 GB, free: 436 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.1602, allocations: 140 kB / 0.5903 GB, free: 296 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1602, allocations: 0 / 0.5903 GB, free: 296 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1602, allocations: 0 / 0.5903 GB, free: 296 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1602, allocations: 0 / 0.5903 GB, free: 296 kB / 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.000354/0.1606, allocations: 343.4 kB / 0.5906 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.1607, allocations: 12.03 kB / 0.5906 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.1607, allocations: 34.75 kB / 0.5906 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.023e-05/0.1607, allocations: 4.844 kB / 0.5906 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1608, allocations: 164.4 kB / 0.5908 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.1608, allocations: 4.375 kB / 0.5908 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.1609, allocations: 4.359 kB / 0.5908 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.537e-05/0.1609, allocations: 33.64 kB / 0.5908 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.1609, allocations: 0 / 0.5908 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.161, allocations: 4 kB / 0.5908 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.161, allocations: 0 / 0.5908 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.517e-05/0.161, allocations: 7.938 kB / 0.5908 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.1612, allocations: 149.7 kB / 0.591 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.006e-05/0.1612, allocations: 30.61 kB / 0.591 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.668e-05/0.1612, allocations: 4.859 kB / 0.591 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1613, allocations: 8 kB / 0.591 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.1613, allocations: 30.56 kB / 0.5911 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1613, allocations: 0 / 0.5911 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001188/0.1614, allocations: 49.56 kB / 0.5911 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1615, allocations: 55.53 kB / 0.5912 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/0.1615, allocations: 93.86 kB / 0.5912 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.1616, allocations: 25.7 kB / 0.5913 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/0.1616, allocations: 84.14 kB / 0.5914 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.1616, allocations: 11.89 kB / 0.5914 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.1617, allocations: 13.7 kB / 0.5914 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1618, allocations: 310.8 kB / 0.5917 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.889e-06/0.1618, allocations: 128 / 0.5917 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-06/0.1618, allocations: 8 kB / 0.5917 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.695e-05/0.1618, allocations: 12.86 kB / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1618, allocations: 0 / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.593e-05/0.1619, allocations: 49.56 kB / 0.5917 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1619, allocations: 11.94 kB / 0.5917 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1619, allocations: 0 / 0.5917 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.1619, allocations: 0 / 0.5917 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.1621, allocations: 8 kB / 0.5918 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000377/0.1625, allocations: 0.5861 MB / 0.5923 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.1625, allocations: 0 / 0.5923 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.1625, allocations: 0 / 0.5923 GB, free: 13.91 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 7.426e-05/0.1626, allocations: 117.8 kB / 0.5924 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-06/0.1626, allocations: 3.906 kB / 0.5924 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.1627, allocations: 48.91 kB / 0.5925 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1627, allocations: 0 / 0.5925 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1627, allocations: 0 / 0.5925 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1627, allocations: 0 / 0.5925 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.649e-05/0.1628, allocations: 157.6 kB / 0.5926 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1629, allocations: 0 / 0.5926 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.968e-05/0.1629, allocations: 8 kB / 0.5927 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.163, allocations: 0 / 0.5927 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.163, allocations: 0 / 0.5927 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003593/0.1633, allocations: 0.5976 MB / 0.5932 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1633, allocations: 0 / 0.5932 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.647e-05/0.1634, allocations: 57.17 kB / 0.5933 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.1635, allocations: 77.11 kB / 0.5934 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1635, allocations: 11.92 kB / 0.5934 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.553e-05/0.1635, allocations: 4.109 kB / 0.5934 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.1635, allocations: 4 kB / 0.5934 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.1635, allocations: 0 / 0.5934 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.1636, allocations: 83.28 kB / 0.5935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1636, allocations: 0 / 0.5935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002917/0.1639, allocations: 11.94 kB / 0.5935 GB, free: 12.61 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.000503/0.1644, allocations: 0.6164 MB / 0.5941 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.1646, allocations: 19.92 kB / 0.5941 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.1646, allocations: 4 kB / 0.5941 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.519e-05/0.1647, allocations: 15.94 kB / 0.5941 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.1648, allocations: 7.031 kB / 0.5941 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.1652, allocations: 148.9 kB / 0.5943 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.1655, allocations: 0.6731 MB / 0.5949 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.561e-05/0.1655, allocations: 0 / 0.5949 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.1655, allocations: 15.42 kB / 0.5949 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1655, allocations: 0 / 0.5949 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.1824, allocations: 1.128 MB / 0.596 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/0.1827, allocations: 267.6 kB / 0.5963 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/1.794, allocations: 4 kB / 0.5963 GB, free: 9.863 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)