Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="IDEAS_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.001248/0.001248, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.82/0.82, allocations: 133.6 MB / 141.6 MB, free: 2.836 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0009653/0.0009651, allocations: 94.67 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.423e-05/3.409e-05, allocations: 4 kB / 0.5536 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4812, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.568/5.049, allocations: 1.88 GB / 2.514 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/5.049, allocations: 90.31 kB / 2.514 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.655/7.704, allocations: 0.7 GB / 3.215 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.575e-06/7.704, allocations: 0 / 3.215 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002736/7.705, allocations: 46.55 kB / 3.215 GB, free: 118.7 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.01025/7.715, allocations: 2.543 MB / 3.217 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/7.715, allocations: 9.438 kB / 3.217 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005958/7.721, allocations: 0.4947 MB / 3.218 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007859/7.729, allocations: 2.797 MB / 3.22 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.768e-05/7.729, allocations: 26.44 kB / 3.22 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/7.73, allocations: 100.3 kB / 3.22 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002932/7.733, allocations: 1.825 MB / 3.222 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/7.735, allocations: 1.535 MB / 3.224 GB, free: 117 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/7.735, allocations: 7.188 kB / 3.224 GB, free: 117 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/7.736, allocations: 3.25 kB / 3.224 GB, free: 117 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/7.736, allocations: 22.16 kB / 3.224 GB, free: 117 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.02156/7.757, allocations: 8.822 MB / 3.232 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003805/7.761, allocations: 1.843 MB / 3.234 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/7.762, allocations: 0.8432 MB / 3.235 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005233/7.763, allocations: 0.5296 MB / 3.235 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/7.763, allocations: 44.69 kB / 3.236 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 3.937e-06/7.763, allocations: 0 / 3.236 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.008841/7.772, allocations: 2.552 MB / 3.238 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/7.772, allocations: 61.88 kB / 3.238 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005762/7.778, allocations: 3.096 MB / 3.241 GB, free: 113 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001568/7.779, allocations: 28.86 kB / 3.241 GB, free: 113 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001277/7.78, allocations: 0.8622 MB / 3.242 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006737/7.781, allocations: 238.3 kB / 3.242 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/7.782, allocations: 4.562 kB / 3.242 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002464/7.782, allocations: 409.1 kB / 3.243 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003823/7.786, allocations: 2.7 MB / 3.245 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004263/7.79, allocations: 3.281 MB / 3.248 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006767/7.797, allocations: 2.747 MB / 3.251 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.975e-05/7.797, allocations: 0 / 3.251 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=309) (initialization): time 0.0155/7.812, allocations: 6.071 MB / 3.257 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009985/7.813, allocations: 2.641 MB / 3.26 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/7.813, allocations: 9.562 kB / 3.26 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/7.814, allocations: 111.3 kB / 3.26 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003872/7.818, allocations: 0.4987 MB / 3.26 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/7.819, allocations: 1.283 MB / 3.261 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005675/7.825, allocations: 383.1 kB / 3.262 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/7.827, allocations: 192 kB / 3.262 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/7.827, allocations: 3.562 kB / 3.262 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0134/7.84, allocations: 5.773 MB / 3.268 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/7.84, allocations: 6.281 kB / 3.268 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/7.84, allocations: 22 kB / 3.268 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/7.844, allocations: 0.5059 MB / 3.268 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.114e-05/7.844, allocations: 22.83 kB / 3.268 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004723/7.848, allocations: 295.6 kB / 3.268 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009138/7.849, allocations: 179.4 kB / 3.269 GB, free: 107.1 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: preIndFrom_dp.m_flow_x:VARIABLE(unit = "kg/s" protected = true ) type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 251 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.001106/7.85, allocations: 191.9 kB / 3.269 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007711/7.858, allocations: 2.473 MB / 3.271 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/7.859, allocations: 201.1 kB / 3.271 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007311/7.867, allocations: 2.801 MB / 3.274 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/7.867, allocations: 11.2 kB / 3.274 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/7.867, allocations: 7.875 kB / 3.274 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/7.867, allocations: 3.656 kB / 3.274 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/7.88, allocations: 5.101 MB / 3.279 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/7.88, allocations: 0 / 3.279 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/7.882, allocations: 234.8 kB / 3.279 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003953/7.882, allocations: 132.6 kB / 3.28 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/7.882, allocations: 43.66 kB / 3.28 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/7.883, allocations: 1.275 MB / 3.281 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/7.883, allocations: 7.078 kB / 3.281 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008312/7.892, allocations: 2.94 MB / 3.284 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002406/7.894, allocations: 0.7393 MB / 3.284 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009198/7.895, allocations: 5.625 kB / 3.284 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002297/7.897, allocations: 110.4 kB / 3.285 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/7.898, allocations: 66.66 kB / 3.285 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/7.898, allocations: 110.1 kB / 3.285 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004119/7.902, allocations: 2.309 MB / 3.287 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/7.902, allocations: 3.688 kB / 3.287 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.009256/7.911, allocations: 1.389 MB / 3.288 GB, free: 104 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 () * 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.0121/7.923, allocations: 5.625 MB / 3.294 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01389/7.937, allocations: 7.479 MB / 3.301 GB, free: 97.66 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/7.937, allocations: 2.969 kB / 3.301 GB, free: 97.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001407/7.939, allocations: 0.8123 MB / 3.302 GB, free: 96.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/7.942, allocations: 435.6 kB / 3.302 GB, free: 96.65 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008989/7.951, allocations: 3.421 MB / 3.306 GB, free: 93.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/7.953, allocations: 1.572 MB / 3.307 GB, free: 92.36 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.008872/7.961, allocations: 1.52 MB / 3.309 GB, free: 91.46 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002581/7.964, allocations: 0.8392 MB / 3.31 GB, free: 90.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.014e-06/7.964, allocations: 4 kB / 3.31 GB, free: 90.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1351/8.099, allocations: 77.42 MB / 3.385 GB, free: 21.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/8.1, allocations: 155.3 kB / 3.385 GB, free: 20.92 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.016/13.12, allocations: 0 / 3.385 GB, free: 20.92 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Dampers_Examples_Damper.fmu > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)