Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2024/0.2044, allocations: 80.82 MB / 0.6706 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.74/0.9444, allocations: 162 MB / 0.8288 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008337/0.9528, allocations: 4.54 MB / 0.8332 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004767/0.9533, allocations: 10.75 kB / 0.8332 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008797/0.9542, allocations: 255.9 kB / 0.8335 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.9556, allocations: 0.494 MB / 0.8339 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.9571, allocations: 0.593 MB / 0.8345 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001094/0.9582, allocations: 1.013 MB / 0.8355 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004458/0.9587, allocations: 310.3 kB / 0.8358 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008419/0.9595, allocations: 482 kB / 0.8363 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004283/0.96, allocations: 319.3 kB / 0.8366 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.37e-05/0.9601, allocations: 42.06 kB / 0.8366 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009575/0.961, allocations: 0.5499 MB / 0.8372 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.9613, allocations: 186.4 kB / 0.8373 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.9616, allocations: 245.4 kB / 0.8376 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.9626, allocations: 0.7889 MB / 0.8383 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.9626, allocations: 0 / 0.8383 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.474e-06/0.9626, allocations: 0 / 0.8383 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.9626, allocations: 0 / 0.8383 GB, free: 8.758 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.00173/0.9644, allocations: 0.8486 MB / 0.8392 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.9644, allocations: 9.781 kB / 0.8392 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/0.9647, allocations: 66.7 kB / 0.8392 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006564/0.9654, allocations: 431.6 kB / 0.8396 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.9654, allocations: 25.44 kB / 0.8397 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.9655, allocations: 25.72 kB / 0.8397 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007681/0.9663, allocations: 355.4 kB / 0.84 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.9663, allocations: 0 / 0.84 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.9663, allocations: 12.88 kB / 0.84 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.9664, allocations: 11.5 kB / 0.8401 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006998/0.9671, allocations: 296 kB / 0.8403 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.9688, allocations: 1.093 MB / 0.8414 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005612/0.9694, allocations: 154.3 kB / 0.8416 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.9696, allocations: 68.09 kB / 0.8416 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.9696, allocations: 3.984 kB / 0.8416 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.9697, allocations: 41.36 kB / 0.8417 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.9697, allocations: 0 / 0.8417 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0009808/0.9706, allocations: 294.3 kB / 0.8419 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.9707, allocations: 55.72 kB / 0.842 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.9713, allocations: 0.5183 MB / 0.8425 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.9713, allocations: 32.05 kB / 0.8425 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.9715, allocations: 234.5 kB / 0.8428 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.9715, allocations: 39.95 kB / 0.8428 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.329e-05/0.9716, allocations: 41.39 kB / 0.8428 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.9718, allocations: 348.7 kB / 0.8432 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.9721, allocations: 83.55 kB / 0.8432 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.9723, allocations: 170.2 kB / 0.8434 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00045/0.9728, allocations: 225.4 kB / 0.8436 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9728, allocations: 2.062 kB / 0.8436 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005725/0.9734, allocations: 283.7 kB / 0.8439 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.9734, allocations: 7.375 kB / 0.8439 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.9734, allocations: 2.719 kB / 0.8439 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.9734, allocations: 6.078 kB / 0.8439 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.9748, allocations: 204.1 kB / 0.8441 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.9772, allocations: 1.658 MB / 0.8457 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.9775, allocations: 53.03 kB / 0.8458 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.9776, allocations: 7.656 kB / 0.8458 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002708/0.9778, allocations: 197.8 kB / 0.846 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002013/0.9781, allocations: 151.1 kB / 0.8461 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003509/0.9784, allocations: 205.8 kB / 0.8463 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.442e-06/0.9784, allocations: 0 / 0.8463 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004779/0.9789, allocations: 267.1 kB / 0.8466 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.9789, allocations: 5.781 kB / 0.8466 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.9789, allocations: 4.156 kB / 0.8466 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-06/0.9789, allocations: 2.406 kB / 0.8466 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.9791, allocations: 47.22 kB / 0.8466 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.9792, allocations: 10.52 kB / 0.8466 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.9795, allocations: 27.3 kB / 0.8467 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.9795, allocations: 7.812 kB / 0.8467 GB, free: 2.203 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.9796, allocations: 188.7 kB / 0.8469 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.9797, allocations: 46.19 kB / 0.8469 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.9802, allocations: 223.9 kB / 0.8471 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.9803, allocations: 2.406 kB / 0.8471 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.9803, allocations: 0 / 0.8471 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.9803, allocations: 0 / 0.8471 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.9813, allocations: 0.739 MB / 0.8478 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.9813, allocations: 0 / 0.8478 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.9825, allocations: 182.8 kB / 0.848 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.9825, allocations: 6.75 kB / 0.848 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.9825, allocations: 6.062 kB / 0.848 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/0.9847, allocations: 1.626 MB / 0.8496 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9847, allocations: 5.938 kB / 0.8496 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/0.9853, allocations: 354 kB / 0.8499 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.9855, allocations: 147.2 kB / 0.8501 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.9856, allocations: 5.812 kB / 0.8501 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.986, allocations: 28.41 kB / 0.8501 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.9861, allocations: 14.7 kB / 0.8501 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.9861, allocations: 14.05 kB / 0.8501 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004589/0.9866, allocations: 386 kB / 0.8505 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9866, allocations: 3.938 kB / 0.8505 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006775/0.9873, allocations: 195.1 kB / 0.8507 GB, free: 14.86 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000384/0.9877, allocations: 149 kB / 0.8508 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.9896, allocations: 453.8 kB / 0.8513 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.9896, allocations: 0 / 0.8513 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002292/0.9919, allocations: 391.3 kB / 0.8517 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.9931, allocations: 233.2 kB / 0.8519 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.9948, allocations: 0.7874 MB / 0.8526 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.9952, allocations: 0.8141 MB / 0.8534 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003437/0.9955, allocations: 87 kB / 0.8535 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.9956, allocations: 33.95 kB / 0.8536 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.9956, allocations: 0 / 0.8536 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of Templates: time 0.01645/1.012, allocations: 8.795 MB / 0.8621 GB, free: 5.027 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1)