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.212/0.2141, allocations: 80.84 MB / 0.6706 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.7475/0.9617, allocations: 161.9 MB / 0.8288 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009314/0.9711, allocations: 4.543 MB / 0.8332 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007907/0.9719, allocations: 11.47 kB / 0.8332 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.9733, allocations: 264.9 kB / 0.8335 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.9756, allocations: 0.5131 MB / 0.834 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.9779, allocations: 0.6013 MB / 0.8346 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001942/0.9798, allocations: 1.001 MB / 0.8355 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007257/0.9806, allocations: 314 kB / 0.8358 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.9821, allocations: 497.7 kB / 0.8363 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000785/0.9829, allocations: 319 kB / 0.8366 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.983, allocations: 44.09 kB / 0.8367 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.9844, allocations: 0.5455 MB / 0.8372 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.9847, allocations: 184.3 kB / 0.8374 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004679/0.9852, allocations: 253.1 kB / 0.8376 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.9867, allocations: 0.7945 MB / 0.8384 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.9868, allocations: 0 / 0.8384 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.188e-06/0.9868, allocations: 6.969 kB / 0.8384 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.023e-05/0.9868, allocations: 0 / 0.8384 GB, free: 8.879 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.002308/0.9891, allocations: 0.8445 MB / 0.8392 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.9892, allocations: 7.281 kB / 0.8392 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004987/0.9897, allocations: 66.7 kB / 0.8393 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009005/0.9906, allocations: 427.6 kB / 0.8397 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.9906, allocations: 21.59 kB / 0.8397 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.9907, allocations: 28.03 kB / 0.8397 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.9917, allocations: 359.4 kB / 0.8401 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.9918, allocations: 3.938 kB / 0.8401 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.9918, allocations: 14.44 kB / 0.8401 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.9918, allocations: 7.312 kB / 0.8401 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008036/0.9926, allocations: 296.9 kB / 0.8404 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.995, allocations: 1.094 MB / 0.8415 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006239/0.9956, allocations: 158.4 kB / 0.8416 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.9958, allocations: 66.05 kB / 0.8417 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.9958, allocations: 9.812 kB / 0.8417 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.9959, allocations: 33.44 kB / 0.8417 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.9959, allocations: 0 / 0.8417 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.001083/0.997, allocations: 296.9 kB / 0.842 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.997, allocations: 57.91 kB / 0.8421 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.9978, allocations: 0.5194 MB / 0.8426 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.9978, allocations: 28.36 kB / 0.8426 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.9981, allocations: 240.8 kB / 0.8428 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.9981, allocations: 30.33 kB / 0.8429 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.9982, allocations: 40.84 kB / 0.8429 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002371/0.9985, allocations: 352.8 kB / 0.8432 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.9987, allocations: 87.39 kB / 0.8433 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.999, allocations: 166.5 kB / 0.8435 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/0.9995, allocations: 221.3 kB / 0.8437 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.9995, allocations: 384 / 0.8437 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006458/1, allocations: 285 kB / 0.844 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1, allocations: 6.844 kB / 0.844 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/1, allocations: 3.219 kB / 0.844 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1, allocations: 6.688 kB / 0.844 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/1.002, allocations: 205.4 kB / 0.8442 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/1.004, allocations: 1.656 MB / 0.8458 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/1.005, allocations: 49.67 kB / 0.8458 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/1.005, allocations: 7.812 kB / 0.8458 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003234/1.005, allocations: 201.8 kB / 0.846 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000214/1.005, allocations: 148.6 kB / 0.8462 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004104/1.006, allocations: 207.5 kB / 0.8464 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.426e-06/1.006, allocations: 0 / 0.8464 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005802/1.006, allocations: 271.8 kB / 0.8466 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.006, allocations: 5.062 kB / 0.8466 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.006, allocations: 2.719 kB / 0.8466 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.733e-06/1.006, allocations: 1.812 kB / 0.8466 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/1.007, allocations: 43.22 kB / 0.8467 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.007, allocations: 6.906 kB / 0.8467 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/1.007, allocations: 29.05 kB / 0.8467 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/1.007, allocations: 11.09 kB / 0.8467 GB, free: 2.324 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.0002102/1.007, allocations: 197.9 kB / 0.8469 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/1.007, allocations: 45.84 kB / 0.847 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000571/1.008, allocations: 216.9 kB / 0.8472 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/1.008, allocations: 6.906 kB / 0.8472 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/1.008, allocations: 0 / 0.8472 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.008, allocations: 4.125 kB / 0.8472 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/1.009, allocations: 0.7409 MB / 0.8479 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.009, allocations: 2.812 kB / 0.8479 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.011, allocations: 176.5 kB / 0.8481 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/1.011, allocations: 6.031 kB / 0.8481 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/1.011, allocations: 2.25 kB / 0.8481 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/1.013, allocations: 1.617 MB / 0.8497 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.013, allocations: 6.938 kB / 0.8497 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005842/1.013, allocations: 355 kB / 0.85 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/1.014, allocations: 147.4 kB / 0.8501 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/1.014, allocations: 6.719 kB / 0.8501 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/1.014, allocations: 24.5 kB / 0.8502 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/1.014, allocations: 15.27 kB / 0.8502 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/1.014, allocations: 19.77 kB / 0.8502 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005165/1.015, allocations: 386.7 kB / 0.8506 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.21e-07/1.015, allocations: 3.938 kB / 0.8506 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008632/1.016, allocations: 190 kB / 0.8508 GB, free: 14.98 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.0004997/1.016, allocations: 150.2 kB / 0.8509 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002089/1.018, allocations: 461.2 kB / 0.8513 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.018, allocations: 6.594 kB / 0.8513 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002322/1.021, allocations: 384.6 kB / 0.8517 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/1.022, allocations: 224.2 kB / 0.8519 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/1.024, allocations: 0.7905 MB / 0.8527 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/1.024, allocations: 0.8118 MB / 0.8535 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004327/1.025, allocations: 89.53 kB / 0.8536 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/1.025, allocations: 34.62 kB / 0.8536 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of SimCode: time 5.82e-07/1.025, allocations: 0 / 0.8536 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of Templates: time 0.01772/1.043, allocations: 8.635 MB / 0.862 GB, free: 5.5 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)