Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.001544/0.001551, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001768/0.001768, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.242/2.242, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.19/1.19, allocations: 132.2 MB / 423.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006288/0.0006288, allocations: 8.75 kB / 0.5033 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8119/0.8126, allocations: 81.57 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003616/0.8162, allocations: 1.662 MB / 0.5846 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004994/0.8213, allocations: 1.873 MB / 0.5864 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002931/0.8216, allocations: 2.344 kB / 0.5864 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007961/0.8225, allocations: 156.5 kB / 0.5866 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.8236, allocations: 219.8 kB / 0.5868 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.8251, allocations: 385.9 kB / 0.5871 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008752/0.826, allocations: 282.3 kB / 0.5874 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.8262, allocations: 30.95 kB / 0.5874 GB, free: 1.039 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.8265, allocations: 124.8 kB / 0.5876 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.8269, allocations: 129.2 kB / 0.5877 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/0.827, allocations: 7.5 kB / 0.5877 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.828, allocations: 302 kB / 0.588 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.8282, allocations: 87.03 kB / 0.5881 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.046e-05/0.8283, allocations: 68.2 kB / 0.5881 GB, free: 0.793 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009561/0.8292, allocations: 404.6 kB / 0.5885 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.8293, allocations: 0 / 0.5885 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.8293, allocations: 0.875 kB / 0.5885 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.8293, allocations: 0 / 0.5885 GB, free: 0.6953 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001208/0.8305, allocations: 0.5619 MB / 0.5891 GB, free: 204 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.8306, allocations: 13.12 kB / 0.5891 GB, free: 200 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.65e-05/0.8306, allocations: 38.77 kB / 0.5891 GB, free: 156 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/0.8311, allocations: 45.61 kB / 0.5892 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.8318, allocations: 322.9 kB / 0.5895 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.8318, allocations: 4.219 kB / 0.5895 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.8319, allocations: 12.22 kB / 0.5895 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000619/0.8325, allocations: 165.5 kB / 0.5896 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.8325, allocations: 0 / 0.5896 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.8326, allocations: 1.125 kB / 0.5896 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.8326, allocations: 1.156 kB / 0.5896 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.8332, allocations: 141.7 kB / 0.5898 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.8345, allocations: 0.4899 MB / 0.5903 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/0.835, allocations: 138.5 kB / 0.5904 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.8351, allocations: 5.953 kB / 0.5904 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.8351, allocations: 35.72 kB / 0.5904 GB, free: 15.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.8351, allocations: 0 / 0.5904 GB, free: 15.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.001151/0.8363, allocations: 246.6 kB / 0.5907 GB, free: 15.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.8364, allocations: 61.52 kB / 0.5907 GB, free: 15.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006981/0.8371, allocations: 339.6 kB / 0.591 GB, free: 14.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.8372, allocations: 27.08 kB / 0.5911 GB, free: 14.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.8374, allocations: 153.5 kB / 0.5912 GB, free: 14.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.8375, allocations: 29.61 kB / 0.5912 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.8375, allocations: 1.188 kB / 0.5912 GB, free: 14.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002758/0.8378, allocations: 338.2 kB / 0.5916 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.8382, allocations: 85.53 kB / 0.5917 GB, free: 14.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/0.8387, allocations: 138 kB / 0.5918 GB, free: 14.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.8391, allocations: 95.23 kB / 0.5919 GB, free: 14.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.8391, allocations: 1.188 kB / 0.5919 GB, free: 14.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00107/0.8402, allocations: 276.1 kB / 0.5921 GB, free: 14.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005821/0.8408, allocations: 0.6958 MB / 0.5928 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.8409, allocations: 2.906 kB / 0.5928 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-05/0.8409, allocations: 7.328 kB / 0.5928 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.8414, allocations: 56.77 kB / 0.5929 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.042e-05/0.8414, allocations: 6.672 kB / 0.5929 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.8418, allocations: 27.36 kB / 0.5929 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.442e-05/0.8419, allocations: 13.36 kB / 0.5929 GB, free: 13.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.8419, allocations: 3.344 kB / 0.5929 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001052/0.8429, allocations: 255.1 kB / 0.5932 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.843, allocations: 1.125 kB / 0.5932 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-06/0.843, allocations: 11.16 kB / 0.5932 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.8434, allocations: 47.38 kB / 0.5932 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.8434, allocations: 2.891 kB / 0.5932 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.8437, allocations: 30.34 kB / 0.5933 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/0.8438, allocations: 11.28 kB / 0.5933 GB, free: 13.33 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 18 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000417/0.8442, allocations: 240.1 kB / 0.5935 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.8443, allocations: 23.08 kB / 0.5935 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009869/0.8453, allocations: 209.1 kB / 0.5937 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.8453, allocations: 5.062 kB / 0.5937 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.8453, allocations: 0.7031 kB / 0.5937 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.8454, allocations: 2.031 kB / 0.5937 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.846, allocations: 284.2 kB / 0.594 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.846, allocations: 0 / 0.594 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.8462, allocations: 28.34 kB / 0.594 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.8462, allocations: 4 kB / 0.594 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.8463, allocations: 2.047 kB / 0.594 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8463, allocations: 1.375 kB / 0.594 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8463, allocations: 0.75 kB / 0.594 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008184/0.8471, allocations: 288.2 kB / 0.5943 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.8474, allocations: 114.8 kB / 0.5944 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/0.8475, allocations: 2.156 kB / 0.5944 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.8477, allocations: 14.91 kB / 0.5944 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/0.8478, allocations: 7.031 kB / 0.5944 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.8479, allocations: 8.734 kB / 0.5945 GB, free: 12.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005336/0.8484, allocations: 238.3 kB / 0.5947 GB, free: 12.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.8484, allocations: 0 / 0.5947 GB, free: 12.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001459/0.8499, allocations: 141.3 kB / 0.5948 GB, free: 12.31 MB / 446.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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002105/0.852, allocations: 0.9263 MB / 0.5957 GB, free: 11.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.8533, allocations: 313.9 kB / 0.596 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.8533, allocations: 0 / 0.596 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.8537, allocations: 72.28 kB / 0.5961 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/0.8545, allocations: 96.25 kB / 0.5962 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.8583, allocations: 1.919 MB / 0.5981 GB, free: 9.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/0.859, allocations: 0.7763 MB / 0.5988 GB, free: 9.039 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005845/0.8596, allocations: 75.3 kB / 0.5989 GB, free: 9.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003869/0.86, allocations: 86.08 kB / 0.599 GB, free: 8.961 MB / 446.1 MB Notification: Performance of SimCode: time 1.773e-06/0.8601, allocations: 7.938 kB / 0.599 GB, free: 8.953 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04444/0.9045, allocations: 8.769 MB / 0.6075 GB, free: 4.98 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004764/0.9051, allocations: 185.2 kB / 0.6077 GB, free: 4.742 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.934/3.839, allocations: 1.312 kB / 0.6077 GB, free: 4.742 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) Environment - environmentSimulation: