Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01084/0.01084, allocations: 171.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7979/0.7979, allocations: 135.2 MB / 151 MB, free: 13.88 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.679/1.679, allocations: 223.2 MB / 406.8 MB, free: 3.254 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008662/0.0008667, allocations: 102.4 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004002, allocations: 8 kB / 0.5692 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4468, allocations: 82.31 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.067/5.514, allocations: 1.881 GB / 2.531 GB, free: 57.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/5.514, allocations: 99.5 kB / 2.531 GB, free: 57.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.926/8.44, allocations: 0.7093 GB / 3.24 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.595e-06/8.44, allocations: 0 / 3.24 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001562/8.441, allocations: 50.58 kB / 3.24 GB, free: 118.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.01136/8.452, allocations: 3.449 MB / 3.244 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/8.452, allocations: 12.03 kB / 3.244 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004924/8.452, allocations: 131 kB / 3.244 GB, free: 116 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004872/8.457, allocations: 0.492 MB / 3.244 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007455/8.465, allocations: 2.838 MB / 3.247 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/8.465, allocations: 117 kB / 3.247 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008724/8.466, allocations: 160 kB / 3.247 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/8.469, allocations: 1.741 MB / 3.249 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/8.469, allocations: 7.938 kB / 3.249 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/8.469, allocations: 36 kB / 3.249 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/8.469, allocations: 26.92 kB / 3.249 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003282/8.472, allocations: 2.075 MB / 3.251 GB, free: 108.5 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0202/8.492, allocations: 9.093 MB / 3.26 GB, free: 99.28 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003617/8.496, allocations: 1.904 MB / 3.262 GB, free: 97.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005034/8.496, allocations: 0.5246 MB / 3.262 GB, free: 96.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/8.496, allocations: 47.11 kB / 3.262 GB, free: 96.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 2.915e-06/8.496, allocations: 0 / 3.262 GB, free: 96.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.007266/8.504, allocations: 3.177 MB / 3.265 GB, free: 93.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/8.504, allocations: 62.75 kB / 3.265 GB, free: 93.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006087/8.51, allocations: 3.461 MB / 3.269 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.00171/8.512, allocations: 76.44 kB / 3.269 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/8.513, allocations: 0.8843 MB / 3.27 GB, free: 89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/8.513, allocations: 245.9 kB / 3.27 GB, free: 88.76 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/8.513, allocations: 40 kB / 3.27 GB, free: 88.72 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001125/8.513, allocations: 402.8 kB / 3.27 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004377/8.518, allocations: 2.844 MB / 3.273 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004811/8.523, allocations: 3.441 MB / 3.277 GB, free: 81.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003828/8.527, allocations: 2.292 MB / 3.279 GB, free: 79.53 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/8.527, allocations: 0 / 3.279 GB, free: 79.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=309) (initialization): time 0.01104/8.538, allocations: 5.853 MB / 3.284 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000474/8.538, allocations: 2.665 MB / 3.287 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/8.538, allocations: 7.984 kB / 3.287 GB, free: 70.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/8.539, allocations: 167.3 kB / 3.287 GB, free: 70.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003151/8.542, allocations: 0.4993 MB / 3.288 GB, free: 70.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007805/8.543, allocations: 1.234 MB / 3.289 GB, free: 68.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004187/8.547, allocations: 452.8 kB / 3.289 GB, free: 68.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005842/8.547, allocations: 185.4 kB / 3.29 GB, free: 68.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/8.547, allocations: 4 kB / 3.29 GB, free: 68.24 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0093/8.557, allocations: 5.594 MB / 3.295 GB, free: 62.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/8.557, allocations: 4 kB / 3.295 GB, free: 62.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/8.557, allocations: 20 kB / 3.295 GB, free: 62.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/8.56, allocations: 0.5024 MB / 3.296 GB, free: 62.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.004e-05/8.56, allocations: 23.92 kB / 3.296 GB, free: 62.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004283/8.564, allocations: 355.5 kB / 3.296 GB, free: 61.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005959/8.565, allocations: 179.9 kB / 3.296 GB, free: 61.57 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 52 (preIndDpFixed_nominal.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[13],preIndFrom_dp.idx_sorted[1],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[13],preInd.idx_sorted[1],preInd.idx_sorted[2],preInd.idx_sorted[3],preInd.idx_sorted[4],preInd.idx_sorted[5],preInd.idx_sorted[6],preInd.idx_sorted[7],preInd.idx_sorted[8],preInd.idx_sorted[9],preInd.idx_sorted[10],preInd.idx_sorted[11],preInd.idx_sorted[12],preInd.idx_sorted[13],vav.idx_sorted[1],vav.idx_sorted[2],vav.idx_sorted[3],vav.idx_sorted[4],vav.idx_sorted[5],vav.idx_sorted[6],vav.idx_sorted[7],vav.idx_sorted[8],vav.idx_sorted[9],vav.idx_sorted[10],vav.idx_sorted[11],vav.idx_sorted[12],vav.idx_sorted[13]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 252 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001598/8.566, allocations: 0.6251 MB / 3.297 GB, free: 60.94 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00142/8.568, allocations: 213 kB / 3.297 GB, free: 60.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004785/8.572, allocations: 2.466 MB / 3.299 GB, free: 58.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/8.572, allocations: 8 kB / 3.299 GB, free: 58.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/8.572, allocations: 3.938 kB / 3.299 GB, free: 58.26 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/8.572, allocations: 7.641 kB / 3.299 GB, free: 58.26 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/8.583, allocations: 4.838 MB / 3.304 GB, free: 53.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/8.583, allocations: 4 kB / 3.304 GB, free: 53.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/8.585, allocations: 234.7 kB / 3.304 GB, free: 53.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004174/8.585, allocations: 131.6 kB / 3.304 GB, free: 53 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/8.585, allocations: 47.97 kB / 3.304 GB, free: 52.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007297/8.586, allocations: 1.222 MB / 3.306 GB, free: 51.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/8.586, allocations: 7.938 kB / 3.306 GB, free: 51.68 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004659/8.591, allocations: 2.596 MB / 3.308 GB, free: 48.96 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002267/8.593, allocations: 0.759 MB / 3.309 GB, free: 48.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/8.594, allocations: 19.95 kB / 3.309 GB, free: 48.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002629/8.597, allocations: 125.5 kB / 3.309 GB, free: 48.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/8.597, allocations: 68.56 kB / 3.309 GB, free: 47.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/8.597, allocations: 108 kB / 3.309 GB, free: 47.88 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004703/8.602, allocations: 2.628 MB / 3.312 GB, free: 45.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/8.602, allocations: 4 kB / 3.312 GB, free: 45.24 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006325/8.608, allocations: 1.491 MB / 3.313 GB, free: 43.75 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00617/8.614, allocations: 5.092 MB / 3.318 GB, free: 38.76 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01511/8.629, allocations: 7.825 MB / 3.326 GB, free: 30.94 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/8.629, allocations: 0 / 3.326 GB, free: 30.94 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/8.631, allocations: 0.9178 MB / 3.327 GB, free: 30.03 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004368/8.635, allocations: 0.5826 MB / 3.327 GB, free: 29.45 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/8.646, allocations: 9.823 MB / 3.337 GB, free: 19.29 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008116/8.647, allocations: 1.559 MB / 3.338 GB, free: 17.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.005481/8.653, allocations: 1.143 MB / 3.34 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002142/8.655, allocations: 0.9165 MB / 3.34 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of SimCode: time 9.72e-07/8.655, allocations: 4 kB / 3.34 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5744/9.229, allocations: 98.86 MB / 3.437 GB, free: 128 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/9.229, allocations: 250.2 kB / 3.437 GB, free: 127.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.817/14.05, allocations: 0 / 3.437 GB, free: 127.7 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_Damper.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)