Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.005547/0.005547, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001312/0.001312, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8017/0.8017, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 70.59 kB / 0.5851 GB, free: 21.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1444, allocations: 80.92 MB / 0.6641 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002229/0.1467, allocations: 1.251 MB / 0.6654 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009088/0.1476, allocations: 0.5958 MB / 0.666 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.1477, allocations: 0 / 0.666 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.1477, allocations: 0 / 0.666 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.625e-05/0.1478, allocations: 0 / 0.666 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.1483, allocations: 139.4 kB / 0.6661 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.255e-05/0.1483, allocations: 11.92 kB / 0.6661 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.1484, allocations: 4 kB / 0.6661 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.451e-05/0.1484, allocations: 0 / 0.6661 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.1484, allocations: 15.92 kB / 0.6661 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.1485, allocations: 0 / 0.6661 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004726/0.1489, allocations: 343.3 kB / 0.6664 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.1489, allocations: 0 / 0.6664 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.573e-05/0.149, allocations: 4 kB / 0.6664 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.1492, allocations: 147.1 kB / 0.6666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1492, allocations: 0 / 0.6666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1492, allocations: 0 / 0.6666 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1492, allocations: 0 / 0.6666 GB, free: 3.812 MB / 0.4981 GB 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.0003395/0.1496, allocations: 351.7 kB / 0.6669 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1496, allocations: 9.109 kB / 0.6669 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.868e-05/0.1497, allocations: 38.69 kB / 0.667 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.883e-05/0.1497, allocations: 0.9375 kB / 0.667 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1498, allocations: 164.4 kB / 0.6671 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1498, allocations: 8.375 kB / 0.6671 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-06/0.1498, allocations: 8.125 kB / 0.6671 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.464e-05/0.1499, allocations: 29.64 kB / 0.6672 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1499, allocations: 0 / 0.6672 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.1499, allocations: 0 / 0.6672 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1499, allocations: 4 kB / 0.6672 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.306e-05/0.15, allocations: 4 kB / 0.6672 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.1501, allocations: 149.7 kB / 0.6673 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.422e-05/0.1502, allocations: 26.61 kB / 0.6673 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.1502, allocations: 12.86 kB / 0.6674 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.1502, allocations: 0 / 0.6674 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1502, allocations: 34.5 kB / 0.6674 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.1502, allocations: 3.938 kB / 0.6674 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001253/0.1504, allocations: 49.59 kB / 0.6674 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.1504, allocations: 51.41 kB / 0.6675 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.504e-05/0.1505, allocations: 97.98 kB / 0.6676 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.1505, allocations: 25.7 kB / 0.6676 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.1505, allocations: 84.14 kB / 0.6677 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.1506, allocations: 3.984 kB / 0.6677 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.1506, allocations: 13.72 kB / 0.6677 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1507, allocations: 310.8 kB / 0.668 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.1507, allocations: 8 kB / 0.668 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.003e-05/0.1507, allocations: 4.062 kB / 0.668 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.598e-05/0.1508, allocations: 12.92 kB / 0.668 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1508, allocations: 0 / 0.668 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.816e-05/0.1509, allocations: 57.52 kB / 0.6681 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1509, allocations: 4 kB / 0.6681 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1509, allocations: 0 / 0.6681 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1509, allocations: 0 / 0.6681 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.1511, allocations: 11.98 kB / 0.6681 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003387/0.1514, allocations: 0.586 MB / 0.6687 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.1514, allocations: 0 / 0.6687 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.1514, allocations: 3.938 kB / 0.6687 GB, free: 1.422 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.265e-05/0.1515, allocations: 109.9 kB / 0.6688 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-06/0.1515, allocations: 0 / 0.6688 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.376e-05/0.1516, allocations: 44.81 kB / 0.6688 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1516, allocations: 4.125 kB / 0.6688 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1516, allocations: 0 / 0.6688 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1516, allocations: 4 kB / 0.6688 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.795e-05/0.1518, allocations: 161.5 kB / 0.669 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1518, allocations: 0 / 0.669 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.1518, allocations: 11.94 kB / 0.669 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1519, allocations: 0 / 0.669 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.1519, allocations: 7.984 kB / 0.669 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003535/0.1522, allocations: 0.5899 MB / 0.6696 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1522, allocations: 0 / 0.6696 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.394e-05/0.1523, allocations: 65.02 kB / 0.6696 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.1523, allocations: 81.09 kB / 0.6697 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.1524, allocations: 15.88 kB / 0.6697 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.444e-05/0.1524, allocations: 4 kB / 0.6697 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.1524, allocations: 128 / 0.6697 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.1524, allocations: 4 kB / 0.6697 GB, free: 204 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.944e-05/0.1524, allocations: 79.28 kB / 0.6698 GB, free: 124 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1524, allocations: 0 / 0.6698 GB, free: 124 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001842/0.1526, allocations: 7.938 kB / 0.6698 GB, free: 116 kB / 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.0003808/0.153, allocations: 0.6165 MB / 0.6704 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.1532, allocations: 23.92 kB / 0.6704 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1532, allocations: 0 / 0.6704 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.392e-05/0.1533, allocations: 15.98 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.1534, allocations: 1.875 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.1538, allocations: 135.8 kB / 0.6706 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1541, allocations: 0.6767 MB / 0.6713 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.431e-05/0.1542, allocations: 0 / 0.6713 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.1542, allocations: 7.438 kB / 0.6713 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1542, allocations: 0 / 0.6713 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.1719, allocations: 1.39 MB / 0.6726 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.09, allocations: 11.12 kB / 0.6726 GB, free: 13.33 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)