Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity") [/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.172/0.1738, allocations: 80.84 MB / 0.5897 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.5442/0.718, allocations: 163.1 MB / 0.749 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.7208, allocations: 1.451 MB / 0.7504 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.721, allocations: 6.906 kB / 0.7504 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006695/0.7218, allocations: 195.9 kB / 0.7506 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006088/0.7224, allocations: 335.8 kB / 0.7509 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.7242, allocations: 0.7691 MB / 0.7516 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001385/0.7256, allocations: 1.462 MB / 0.7531 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004467/0.7261, allocations: 314.1 kB / 0.7534 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.7271, allocations: 455.6 kB / 0.7538 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/0.7276, allocations: 349.1 kB / 0.7541 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.462e-05/0.7276, allocations: 22.28 kB / 0.7542 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.7289, allocations: 0.6765 MB / 0.7548 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.7291, allocations: 176.4 kB / 0.755 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.7293, allocations: 233.7 kB / 0.7552 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.7304, allocations: 0.909 MB / 0.7561 GB, free: 11.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7305, allocations: 7.312 kB / 0.7561 GB, free: 11.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.21e-07/0.7305, allocations: 0 / 0.7561 GB, free: 11.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.7305, allocations: 0 / 0.7561 GB, free: 11.99 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001515/0.732, allocations: 0.8005 MB / 0.7569 GB, free: 11.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.7321, allocations: 14.8 kB / 0.7569 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000418/0.7325, allocations: 75.38 kB / 0.757 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.7329, allocations: 346.7 kB / 0.7573 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.7329, allocations: 26.56 kB / 0.7573 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/0.733, allocations: 41.31 kB / 0.7574 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008941/0.7339, allocations: 0.4949 MB / 0.7579 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.7339, allocations: 3.938 kB / 0.7579 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.734, allocations: 18.09 kB / 0.7579 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.734, allocations: 10.31 kB / 0.7579 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008691/0.7349, allocations: 409 kB / 0.7583 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.7373, allocations: 1.682 MB / 0.7599 GB, free: 9.684 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007575/0.7381, allocations: 318.1 kB / 0.7602 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.7384, allocations: 138.2 kB / 0.7604 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004781/0.7389, allocations: 210.2 kB / 0.7606 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.7389, allocations: 48 kB / 0.7606 GB, free: 9.234 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.914e-06/0.7389, allocations: 0 / 0.7606 GB, free: 9.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.001041/0.74, allocations: 406.9 kB / 0.761 GB, free: 9.113 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.74, allocations: 58.47 kB / 0.761 GB, free: 9.047 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.7404, allocations: 370.2 kB / 0.7614 GB, free: 8.891 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.7404, allocations: 32.27 kB / 0.7614 GB, free: 8.859 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.7405, allocations: 222.7 kB / 0.7616 GB, free: 8.703 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.7406, allocations: 74.83 kB / 0.7617 GB, free: 8.648 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.7407, allocations: 62.58 kB / 0.7618 GB, free: 8.625 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.7408, allocations: 340.3 kB / 0.7621 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.7412, allocations: 130.6 kB / 0.7622 GB, free: 8.273 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.7415, allocations: 204.5 kB / 0.7624 GB, free: 8.156 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/0.7422, allocations: 336.4 kB / 0.7627 GB, free: 8.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.7422, allocations: 0 / 0.7627 GB, free: 8.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007896/0.743, allocations: 404.6 kB / 0.7631 GB, free: 7.895 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.743, allocations: 9.266 kB / 0.7631 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7431, allocations: 3.094 kB / 0.7631 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.7431, allocations: 8.75 kB / 0.7631 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.7434, allocations: 71.39 kB / 0.7632 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.7434, allocations: 6.938 kB / 0.7632 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.7438, allocations: 59.38 kB / 0.7633 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.7438, allocations: 14.12 kB / 0.7633 GB, free: 7.836 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.744, allocations: 180.8 kB / 0.7635 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.7441, allocations: 33.19 kB / 0.7635 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007747/0.7449, allocations: 342.7 kB / 0.7638 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7449, allocations: 2.5 kB / 0.7638 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7449, allocations: 0.5625 kB / 0.7638 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7449, allocations: 0 / 0.7638 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.7463, allocations: 0.9795 MB / 0.7648 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.7464, allocations: 2.969 kB / 0.7648 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.7466, allocations: 47.75 kB / 0.7648 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.7466, allocations: 2.719 kB / 0.7648 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.7467, allocations: 5.406 kB / 0.7648 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.7467, allocations: 14.86 kB / 0.7649 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7467, allocations: 5.188 kB / 0.7649 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.7477, allocations: 0.5639 MB / 0.7654 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.7479, allocations: 147.2 kB / 0.7655 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.748, allocations: 9.828 kB / 0.7656 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.7484, allocations: 43.34 kB / 0.7656 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.7484, allocations: 21.62 kB / 0.7656 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/0.7485, allocations: 17.36 kB / 0.7656 GB, free: 6.477 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002657/0.7488, allocations: 260.6 kB / 0.7659 GB, free: 6.359 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7488, allocations: 0 / 0.7659 GB, free: 6.359 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005082/0.7493, allocations: 146 kB / 0.766 GB, free: 6.34 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (relHum.phi) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005297/0.7498, allocations: 193.8 kB / 0.7662 GB, free: 6.223 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007257/0.7506, allocations: 297.5 kB / 0.7665 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7506, allocations: 0 / 0.7665 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.7509, allocations: 142.4 kB / 0.7666 GB, free: 6.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009636/0.7519, allocations: 183.6 kB / 0.7668 GB, free: 6.062 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.7531, allocations: 0.8621 MB / 0.7676 GB, free: 5.496 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.7535, allocations: 0.8159 MB / 0.7684 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003661/0.7539, allocations: 90.09 kB / 0.7685 GB, free: 4.707 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.422e-05/0.754, allocations: 30 kB / 0.7686 GB, free: 4.699 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.754, allocations: 0 / 0.7686 GB, free: 4.699 MB / 0.545 GB Notification: Performance of Templates: time 0.01214/0.7661, allocations: 7.623 MB / 0.776 GB, free: 0.9609 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)