Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 193.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9812/0.9812, allocations: 143 MB / 433.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.91 kB / 0.5143 GB, free: 11.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1649, allocations: 82.04 MB / 0.5944 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity): time 0.4548/0.6197, allocations: 165.3 MB / 0.7558 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002956/0.6227, allocations: 1.556 MB / 0.7573 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.6229, allocations: 11.94 kB / 0.7573 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004281/0.6234, allocations: 142.9 kB / 0.7575 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.6245, allocations: 461.9 kB / 0.7579 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.6261, allocations: 0.752 MB / 0.7586 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006844/0.6268, allocations: 0.7098 MB / 0.7593 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.6272, allocations: 262.5 kB / 0.7596 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004586/0.6277, allocations: 312.1 kB / 0.7599 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.628, allocations: 223.1 kB / 0.7601 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.244e-05/0.628, allocations: 28 kB / 0.7601 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.6294, allocations: 0.8613 MB / 0.761 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.6296, allocations: 119.7 kB / 0.7611 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.6297, allocations: 159.2 kB / 0.7612 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.6308, allocations: 0.748 MB / 0.762 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6308, allocations: 0 / 0.762 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6308, allocations: 0 / 0.762 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.6309, allocations: 0 / 0.762 GB, free: 1.676 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001184/0.632, allocations: 0.6823 MB / 0.7626 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.6321, allocations: 12.03 kB / 0.7626 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.33e-05/0.6322, allocations: 54.55 kB / 0.7627 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004827/0.6326, allocations: 83.5 kB / 0.7628 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.633, allocations: 303.9 kB / 0.7631 GB, free: 468 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.633, allocations: 20.56 kB / 0.7631 GB, free: 448 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.6331, allocations: 24 kB / 0.7631 GB, free: 424 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.6337, allocations: 336.2 kB / 0.7634 GB, free: 72 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.6338, allocations: 3.938 kB / 0.7634 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.6338, allocations: 4 kB / 0.7634 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.6338, allocations: 11.94 kB / 0.7634 GB, free: 52 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007106/0.6345, allocations: 281.6 kB / 0.7637 GB, free: 15.77 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001594/0.6361, allocations: 1.079 MB / 0.7648 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000876/0.637, allocations: 324.8 kB / 0.7651 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.6374, allocations: 133.4 kB / 0.7652 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006675/0.638, allocations: 392.3 kB / 0.7656 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.6381, allocations: 38.5 kB / 0.7656 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.6381, allocations: 3.938 kB / 0.7656 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001209/0.6393, allocations: 403.1 kB / 0.766 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.6393, allocations: 59.36 kB / 0.7661 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.6396, allocations: 263 kB / 0.7663 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.6396, allocations: 33.7 kB / 0.7663 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.6397, allocations: 172.2 kB / 0.7665 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.924e-05/0.6398, allocations: 67 kB / 0.7666 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/0.6399, allocations: 49.64 kB / 0.7666 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.64, allocations: 334.8 kB / 0.7669 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.6403, allocations: 107.8 kB / 0.767 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.6407, allocations: 169.3 kB / 0.7672 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/0.6413, allocations: 266.6 kB / 0.7675 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.6414, allocations: 0 / 0.7675 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007372/0.6421, allocations: 323 kB / 0.7678 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.6421, allocations: 4 kB / 0.7678 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6421, allocations: 0.625 kB / 0.7678 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.6422, allocations: 7.938 kB / 0.7678 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.6424, allocations: 64.05 kB / 0.7678 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.6425, allocations: 4 kB / 0.7678 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.6427, allocations: 35.81 kB / 0.7679 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.6428, allocations: 9.969 kB / 0.7679 GB, free: 11.24 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.000143/0.6429, allocations: 157.7 kB / 0.768 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/0.643, allocations: 27.62 kB / 0.7681 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000825/0.6438, allocations: 310.8 kB / 0.7684 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.6438, allocations: 7.938 kB / 0.7684 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6438, allocations: 0 / 0.7684 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.6438, allocations: 3.984 kB / 0.7684 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.6453, allocations: 0.9329 MB / 0.7693 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6453, allocations: 0 / 0.7693 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.6456, allocations: 51.91 kB / 0.7693 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.6456, allocations: 4 kB / 0.7693 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.6456, allocations: 4 kB / 0.7693 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.6456, allocations: 3.984 kB / 0.7693 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6456, allocations: 4 kB / 0.7693 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.6467, allocations: 0.5564 MB / 0.7699 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.6469, allocations: 124.8 kB / 0.77 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.6469, allocations: 4 kB / 0.77 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.6472, allocations: 24.03 kB / 0.77 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.6473, allocations: 27.95 kB / 0.7701 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.6473, allocations: 8 kB / 0.7701 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001679/0.6475, allocations: 201.8 kB / 0.7703 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6475, allocations: 0 / 0.7703 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004275/0.6479, allocations: 115.8 kB / 0.7704 GB, free: 8.52 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.001733/0.6496, allocations: 1.196 MB / 0.7715 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007472/0.6504, allocations: 263.6 kB / 0.7718 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6504, allocations: 0 / 0.7718 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.6508, allocations: 140.1 kB / 0.7719 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008015/0.6516, allocations: 130.5 kB / 0.7721 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.6557, allocations: 2.974 MB / 0.775 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.656, allocations: 0.7792 MB / 0.7757 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002448/0.6563, allocations: 68.11 kB / 0.7758 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.6564, allocations: 91.41 kB / 0.7759 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of SimCode: time 4.4e-07/0.6564, allocations: 0 / 0.7759 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.6855, allocations: 8.911 MB / 0.7846 GB, free: 10 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/8.348, allocations: 9.688 kB / 0.7846 GB, free: 10 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_RelativeHumidity.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)