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.001352/0.001352, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6956/0.6956, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.4/1.4, allocations: 221.3 MB / 400.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009338/0.0009338, allocations: 95.78 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.254e-05, allocations: 2.781 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1592, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.189/4.349, allocations: 1.881 GB / 2.522 GB, free: 49.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/4.349, allocations: 91.7 kB / 2.522 GB, free: 49.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.551/6.9, allocations: 0.7087 GB / 3.23 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.202e-06/6.9, allocations: 0 / 3.23 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002597/6.901, allocations: 43.64 kB / 3.23 GB, free: 112.5 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.007374/6.908, allocations: 2.542 MB / 3.233 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/6.908, allocations: 11.34 kB / 3.233 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004136/6.909, allocations: 129.6 kB / 3.233 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00458/6.913, allocations: 0.494 MB / 3.234 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006437/6.92, allocations: 2.789 MB / 3.236 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/6.92, allocations: 122.7 kB / 3.236 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/6.921, allocations: 159.9 kB / 3.237 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002883/6.924, allocations: 1.65 MB / 3.238 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/6.924, allocations: 7.188 kB / 3.238 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/6.924, allocations: 36.41 kB / 3.238 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/6.924, allocations: 30.7 kB / 3.238 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/6.927, allocations: 1.897 MB / 3.24 GB, free: 106.1 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.01991/6.947, allocations: 9.08 MB / 3.249 GB, free: 96.89 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003173/6.95, allocations: 1.775 MB / 3.251 GB, free: 95.11 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/6.951, allocations: 0.8537 MB / 3.252 GB, free: 94.26 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005553/6.952, allocations: 0.5308 MB / 3.252 GB, free: 93.62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/6.952, allocations: 47.23 kB / 3.252 GB, free: 93.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 3.517e-06/6.952, allocations: 2.344 kB / 3.252 GB, free: 93.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.004983/6.957, allocations: 2.009 MB / 3.254 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/6.957, allocations: 60.19 kB / 3.254 GB, free: 91.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006194/6.963, allocations: 3.403 MB / 3.257 GB, free: 88.06 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/6.964, allocations: 69.7 kB / 3.257 GB, free: 87.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001431/6.965, allocations: 0.8854 MB / 3.258 GB, free: 87.11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004208/6.966, allocations: 248.1 kB / 3.259 GB, free: 86.87 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006888/6.967, allocations: 40.86 kB / 3.259 GB, free: 86.83 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001876/6.967, allocations: 398.8 kB / 3.259 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004171/6.971, allocations: 2.733 MB / 3.262 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004537/6.976, allocations: 3.335 MB / 3.265 GB, free: 80.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/6.979, allocations: 2.199 MB / 3.267 GB, free: 77.94 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/6.979, allocations: 4 kB / 3.267 GB, free: 77.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=309) (initialization): time 0.01103/6.99, allocations: 5.64 MB / 3.273 GB, free: 72.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004957/6.991, allocations: 2.678 MB / 3.275 GB, free: 69.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/6.991, allocations: 8 kB / 3.275 GB, free: 69.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006652/6.991, allocations: 151.6 kB / 3.275 GB, free: 69.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00331/6.995, allocations: 0.5063 MB / 3.276 GB, free: 68.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008153/6.996, allocations: 1.217 MB / 3.277 GB, free: 67.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004719/7, allocations: 449.5 kB / 3.277 GB, free: 67.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009799/7.001, allocations: 179.9 kB / 3.278 GB, free: 66.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/7.001, allocations: 7.938 kB / 3.278 GB, free: 66.87 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009544/7.011, allocations: 5.406 MB / 3.283 GB, free: 61.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/7.011, allocations: 4 kB / 3.283 GB, free: 61.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/7.011, allocations: 16 kB / 3.283 GB, free: 61.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003316/7.014, allocations: 0.5049 MB / 3.283 GB, free: 60.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.574e-05/7.014, allocations: 33.42 kB / 3.283 GB, free: 60.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004694/7.019, allocations: 353.8 kB / 3.284 GB, free: 60.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009938/7.02, allocations: 183.9 kB / 3.284 GB, free: 60.37 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 () * 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.001246/7.021, allocations: 249 kB / 3.284 GB, free: 60.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/7.023, allocations: 213 kB / 3.284 GB, free: 59.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/7.027, allocations: 2.309 MB / 3.287 GB, free: 57.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/7.027, allocations: 8 kB / 3.287 GB, free: 57.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/7.027, allocations: 3.938 kB / 3.287 GB, free: 57.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/7.027, allocations: 3.984 kB / 3.287 GB, free: 57.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008599/7.035, allocations: 4.675 MB / 3.291 GB, free: 52.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/7.035, allocations: 7.938 kB / 3.291 GB, free: 52.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/7.036, allocations: 234.2 kB / 3.291 GB, free: 52.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003963/7.037, allocations: 129 kB / 3.292 GB, free: 52.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/7.037, allocations: 47.97 kB / 3.292 GB, free: 52.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000638/7.038, allocations: 1.213 MB / 3.293 GB, free: 51.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/7.038, allocations: 7.938 kB / 3.293 GB, free: 51.17 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003663/7.041, allocations: 2.437 MB / 3.295 GB, free: 48.61 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002119/7.043, allocations: 0.7551 MB / 3.296 GB, free: 47.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001129/7.045, allocations: 23.95 kB / 3.296 GB, free: 47.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002538/7.047, allocations: 126.1 kB / 3.296 GB, free: 47.69 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/7.047, allocations: 56.69 kB / 3.296 GB, free: 47.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/7.048, allocations: 111.5 kB / 3.296 GB, free: 47.53 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004184/7.052, allocations: 2.569 MB / 3.299 GB, free: 44.95 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.3e-07/7.052, allocations: 0 / 3.299 GB, free: 44.95 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006712/7.058, allocations: 1.489 MB / 3.3 GB, free: 43.46 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.006351/7.065, allocations: 4.921 MB / 3.305 GB, free: 38.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01184/7.077, allocations: 7.629 MB / 3.312 GB, free: 31.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/7.077, allocations: 0 / 3.312 GB, free: 31.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/7.078, allocations: 0.8293 MB / 3.313 GB, free: 30.24 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004372/7.083, allocations: 0.5957 MB / 3.314 GB, free: 29.66 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009405/7.092, allocations: 3.575 MB / 3.317 GB, free: 26 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/7.093, allocations: 1.569 MB / 3.319 GB, free: 24.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.008743/7.102, allocations: 1.622 MB / 3.32 GB, free: 22.82 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002514/7.105, allocations: 0.8388 MB / 3.321 GB, free: 21.99 MB / 0.6823 GB Notification: Performance of SimCode: time 1.713e-06/7.105, allocations: 0 / 3.321 GB, free: 21.99 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5637/7.668, allocations: 105.7 MB / 3.424 GB, free: 120.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/7.669, allocations: 206.8 kB / 3.425 GB, free: 120.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.056/13.72, allocations: 0 / 3.425 GB, free: 120.3 MB / 0.698 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)