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.1842/0.185, allocations: 82.21 MB / 0.5941 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.607/0.7921, allocations: 161 MB / 0.7513 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002772/0.7949, allocations: 1.438 MB / 0.7527 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004754/0.7954, allocations: 8.438 kB / 0.7527 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000817/0.7962, allocations: 192.5 kB / 0.7529 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009665/0.7972, allocations: 337.8 kB / 0.7532 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.7995, allocations: 0.7653 MB / 0.754 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.8013, allocations: 1.462 MB / 0.7554 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005152/0.8018, allocations: 302.2 kB / 0.7557 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000957/0.8028, allocations: 441.5 kB / 0.7561 GB, free: 13 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/0.8032, allocations: 340.1 kB / 0.7565 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.234e-05/0.8033, allocations: 20.62 kB / 0.7565 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.8046, allocations: 0.6771 MB / 0.7571 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.8048, allocations: 167.5 kB / 0.7573 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004695/0.8053, allocations: 256.4 kB / 0.7575 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.8067, allocations: 0.8968 MB / 0.7584 GB, free: 12.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.8067, allocations: 3.938 kB / 0.7584 GB, free: 12.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8067, allocations: 0 / 0.7584 GB, free: 12.24 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.76e-05/0.8068, allocations: 0 / 0.7584 GB, free: 12.24 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.001608/0.8084, allocations: 0.7339 MB / 0.7591 GB, free: 11.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.8084, allocations: 8 kB / 0.7591 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000456/0.8089, allocations: 76.72 kB / 0.7592 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.8094, allocations: 353.1 kB / 0.7596 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.8094, allocations: 31.94 kB / 0.7596 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.756e-05/0.8095, allocations: 34.34 kB / 0.7596 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008894/0.8104, allocations: 0.5121 MB / 0.7601 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.8104, allocations: 0 / 0.7601 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.8105, allocations: 16.03 kB / 0.7601 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.8105, allocations: 9.188 kB / 0.7601 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000872/0.8114, allocations: 445.2 kB / 0.7606 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.8141, allocations: 1.692 MB / 0.7622 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007239/0.8148, allocations: 334.3 kB / 0.7625 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/0.8152, allocations: 163.8 kB / 0.7627 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005751/0.8158, allocations: 215.2 kB / 0.7629 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.8158, allocations: 45.17 kB / 0.7629 GB, free: 9.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.8159, allocations: 0 / 0.7629 GB, free: 9.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.001111/0.817, allocations: 455 kB / 0.7634 GB, free: 9.375 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.817, allocations: 54.97 kB / 0.7634 GB, free: 9.312 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.8174, allocations: 374.6 kB / 0.7638 GB, free: 9.152 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.8175, allocations: 32.33 kB / 0.7638 GB, free: 9.121 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.8176, allocations: 227.4 kB / 0.764 GB, free: 8.961 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.8177, allocations: 76.69 kB / 0.7641 GB, free: 8.906 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.8178, allocations: 31.92 kB / 0.7641 GB, free: 8.887 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.8179, allocations: 338.2 kB / 0.7645 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.8183, allocations: 149.5 kB / 0.7646 GB, free: 8.535 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.8186, allocations: 215.6 kB / 0.7648 GB, free: 8.422 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008013/0.8195, allocations: 371.1 kB / 0.7652 GB, free: 8.277 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8195, allocations: 0 / 0.7652 GB, free: 8.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008989/0.8204, allocations: 443.9 kB / 0.7656 GB, free: 8.141 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.8204, allocations: 5.531 kB / 0.7656 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.8204, allocations: 2.938 kB / 0.7656 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.8204, allocations: 2.844 kB / 0.7656 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.8208, allocations: 92.52 kB / 0.7657 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.8208, allocations: 5.031 kB / 0.7657 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.8212, allocations: 64.16 kB / 0.7658 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.8212, allocations: 20.39 kB / 0.7658 GB, free: 8.082 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.0001925/0.8214, allocations: 174.5 kB / 0.7659 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.8215, allocations: 42.11 kB / 0.766 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000848/0.8223, allocations: 377.2 kB / 0.7663 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.8224, allocations: 3.312 kB / 0.7663 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.8224, allocations: 1.859 kB / 0.7663 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.8224, allocations: 0 / 0.7663 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.824, allocations: 1.004 MB / 0.7673 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.8241, allocations: 0.625 kB / 0.7673 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.8243, allocations: 55.38 kB / 0.7674 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.8243, allocations: 2.938 kB / 0.7674 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.8244, allocations: 14.61 kB / 0.7674 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.8244, allocations: 3.844 kB / 0.7674 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.8244, allocations: 3.938 kB / 0.7674 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.8255, allocations: 0.6195 MB / 0.768 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.8257, allocations: 155.2 kB / 0.7682 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.8258, allocations: 2.906 kB / 0.7682 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.8262, allocations: 51.11 kB / 0.7682 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.8263, allocations: 19.58 kB / 0.7682 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/0.8264, allocations: 18.52 kB / 0.7682 GB, free: 6.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002785/0.8266, allocations: 262.7 kB / 0.7685 GB, free: 6.594 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8266, allocations: 0 / 0.7685 GB, free: 6.594 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005878/0.8272, allocations: 142.4 kB / 0.7686 GB, free: 6.578 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.0005457/0.8278, allocations: 183.8 kB / 0.7688 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007961/0.8286, allocations: 339.5 kB / 0.7691 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.8286, allocations: 0 / 0.7691 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.829, allocations: 158.9 kB / 0.7693 GB, free: 6.352 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.8301, allocations: 183.7 kB / 0.7695 GB, free: 6.293 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.8315, allocations: 0.9041 MB / 0.7703 GB, free: 5.684 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.832, allocations: 0.8194 MB / 0.7711 GB, free: 4.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003676/0.8323, allocations: 87.22 kB / 0.7712 GB, free: 4.891 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.869e-05/0.8324, allocations: 33.66 kB / 0.7713 GB, free: 4.879 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.8324, allocations: 3.938 kB / 0.7713 GB, free: 4.875 MB / 0.545 GB Notification: Performance of Templates: time 0.0144/0.8469, allocations: 7.592 MB / 0.7787 GB, free: 1.145 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: