Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7202/0.7202, allocations: 127.4 MB / 134.9 MB, free: 3.461 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 167 kB / 164.6 MB, free: 11.6 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.2 MB / 399.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008056/0.0008055, allocations: 92.52 kB / 476.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.099e-05, allocations: 5.562 kB / 0.5467 GB, free: 95.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1383, allocations: 76.77 MB / 0.6216 GB, free: 42.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.375/4.513, allocations: 2.157 GB / 2.779 GB, free: 19.98 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/4.514, allocations: 98.42 kB / 2.779 GB, free: 19.88 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.339/6.853, allocations: 0.5502 GB / 3.329 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.433e-06/6.853, allocations: 0 / 3.329 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.734e-05/6.853, allocations: 23.97 kB / 3.329 GB, free: 122.5 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00254/6.856, allocations: 1.207 MB / 3.33 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/6.856, allocations: 11.34 kB / 3.33 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002772/6.859, allocations: 407.5 kB / 3.331 GB, free: 122 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/6.86, allocations: 0.6712 MB / 3.331 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/6.86, allocations: 19.69 kB / 3.331 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-05/6.86, allocations: 37.19 kB / 3.332 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008534/6.861, allocations: 489.2 kB / 3.332 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/6.862, allocations: 0.6595 MB / 3.333 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/6.862, allocations: 4.047 kB / 3.333 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/6.862, allocations: 6.938 kB / 3.333 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/6.862, allocations: 19.2 kB / 3.333 GB, free: 121.5 MB / 0.6511 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.003629/6.865, allocations: 3.648 MB / 3.336 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/6.866, allocations: 361.1 kB / 3.337 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/6.867, allocations: 192.6 kB / 3.337 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004535/6.867, allocations: 291.4 kB / 3.337 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/6.867, allocations: 34.31 kB / 3.337 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 2.435e-06/6.867, allocations: 3.938 kB / 3.337 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.005344/6.872, allocations: 1.178 MB / 3.338 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/6.872, allocations: 62.09 kB / 3.338 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008682/6.873, allocations: 0.6301 MB / 3.339 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/6.873, allocations: 28.7 kB / 3.339 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/6.874, allocations: 455.8 kB / 3.339 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/6.874, allocations: 119.5 kB / 3.339 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/6.874, allocations: 0 / 3.339 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/6.874, allocations: 327.1 kB / 3.34 GB, free: 118 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/6.874, allocations: 221.8 kB / 3.34 GB, free: 118 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/6.875, allocations: 445.2 kB / 3.34 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/6.877, allocations: 0.5564 MB / 3.341 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/6.877, allocations: 0 / 3.341 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003397/6.88, allocations: 1.028 MB / 3.342 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003613/6.881, allocations: 1.836 MB / 3.344 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/6.881, allocations: 3.969 kB / 3.344 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005028/6.881, allocations: 181 kB / 3.344 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/6.883, allocations: 286.9 kB / 3.344 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/6.885, allocations: 1.501 MB / 3.346 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/6.887, allocations: 179.4 kB / 3.346 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/6.887, allocations: 39.91 kB / 3.346 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/6.887, allocations: 2.562 kB / 3.346 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002563/6.89, allocations: 0.862 MB / 3.347 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/6.89, allocations: 3.906 kB / 3.347 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/6.89, allocations: 7.469 kB / 3.347 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/6.891, allocations: 223 kB / 3.347 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/6.891, allocations: 14.94 kB / 3.347 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/6.892, allocations: 168.6 kB / 3.347 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.61e-05/6.893, allocations: 38.03 kB / 3.347 GB, free: 114.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002276/6.893, allocations: 118.2 kB / 3.347 GB, free: 114.5 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002757/6.896, allocations: 0.8936 MB / 3.348 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/6.896, allocations: 76.98 kB / 3.348 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/6.899, allocations: 0.991 MB / 3.349 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.026e-06/6.899, allocations: 11.14 kB / 3.349 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/6.899, allocations: 3.844 kB / 3.349 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/6.899, allocations: 0 / 3.349 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006717/6.905, allocations: 2.4 MB / 3.352 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/6.905, allocations: 2.125 kB / 3.352 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/6.907, allocations: 257.9 kB / 3.352 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003447/6.907, allocations: 168.2 kB / 3.352 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/6.907, allocations: 17.22 kB / 3.352 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003278/6.91, allocations: 2.238 MB / 3.354 GB, free: 112.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/6.91, allocations: 0 / 3.354 GB, free: 112.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004572/6.915, allocations: 1.507 MB / 3.356 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/6.915, allocations: 235.3 kB / 3.356 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/6.916, allocations: 3.594 kB / 3.356 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/6.917, allocations: 137.2 kB / 3.356 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.345e-05/6.917, allocations: 43.55 kB / 3.356 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/6.917, allocations: 29.59 kB / 3.356 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005474/6.918, allocations: 495.4 kB / 3.357 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/6.918, allocations: 0 / 3.357 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001671/6.919, allocations: 0.532 MB / 3.357 GB, free: 111.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006768/6.926, allocations: 4.019 MB / 3.361 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003273/6.929, allocations: 1.071 MB / 3.362 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/6.929, allocations: 3.844 kB / 3.362 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001873/6.931, allocations: 472.7 kB / 3.362 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/6.933, allocations: 319.1 kB / 3.363 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/6.936, allocations: 1.256 MB / 3.364 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/6.937, allocations: 1.013 MB / 3.365 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001257/6.938, allocations: 252.6 kB / 3.365 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/6.938, allocations: 320.5 kB / 3.366 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of SimCode: time 8.42e-07/6.938, allocations: 3.844 kB / 3.366 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06119/6.999, allocations: 33.57 MB / 3.398 GB, free: 107.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/7, allocations: 175.5 kB / 3.398 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.497/10.5, allocations: 6.062 kB / 3.398 GB, free: 107.4 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_Damper.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)