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.001086/0.001086, 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.001124/0.001124, allocations: 195.4 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.193/1.193, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.8656/0.8656, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.89 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1529, allocations: 82.03 MB / 0.5944 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity): time 0.3772/0.5301, allocations: 165.3 MB / 0.7558 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0024/0.5325, allocations: 1.557 MB / 0.7573 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.5327, allocations: 7.938 kB / 0.7573 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.5331, allocations: 142.9 kB / 0.7575 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009664/0.5341, allocations: 473.8 kB / 0.7579 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.5357, allocations: 0.7511 MB / 0.7587 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005879/0.5362, allocations: 0.6981 MB / 0.7593 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003398/0.5366, allocations: 274.4 kB / 0.7596 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.537, allocations: 302.9 kB / 0.7599 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.5373, allocations: 227.1 kB / 0.7601 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.5373, allocations: 27.94 kB / 0.7601 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.5385, allocations: 0.8613 MB / 0.761 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.5386, allocations: 111.7 kB / 0.7611 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.5388, allocations: 157.3 kB / 0.7612 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008611/0.5397, allocations: 0.7519 MB / 0.762 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5397, allocations: 4 kB / 0.762 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5397, allocations: 0 / 0.762 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.5397, allocations: 0 / 0.762 GB, free: 1.688 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.000944/0.5406, allocations: 0.6818 MB / 0.7626 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.5407, allocations: 8.031 kB / 0.7626 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.648e-05/0.5407, allocations: 58.53 kB / 0.7627 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004497/0.5412, allocations: 91.5 kB / 0.7628 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.5415, allocations: 297.9 kB / 0.7631 GB, free: 476 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.5416, allocations: 20.5 kB / 0.7631 GB, free: 456 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.5416, allocations: 24 kB / 0.7631 GB, free: 432 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/0.5422, allocations: 332.2 kB / 0.7634 GB, free: 84 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.5422, allocations: 0 / 0.7634 GB, free: 84 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.5423, allocations: 15.98 kB / 0.7634 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.5423, allocations: 7.938 kB / 0.7634 GB, free: 60 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006627/0.5429, allocations: 285.5 kB / 0.7637 GB, free: 15.78 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.001396/0.5444, allocations: 1.072 MB / 0.7648 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008176/0.5452, allocations: 325.2 kB / 0.7651 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.5455, allocations: 141.4 kB / 0.7652 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006044/0.5461, allocations: 384.3 kB / 0.7656 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.5461, allocations: 42.52 kB / 0.7656 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.5462, allocations: 3.938 kB / 0.7656 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001101/0.5473, allocations: 408.1 kB / 0.766 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.5473, allocations: 59.36 kB / 0.7661 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.5475, allocations: 271 kB / 0.7663 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.5475, allocations: 25.7 kB / 0.7664 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/0.5476, allocations: 168.2 kB / 0.7665 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.5477, allocations: 70.98 kB / 0.7666 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/0.5478, allocations: 41.7 kB / 0.7666 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.5479, allocations: 346.8 kB / 0.767 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.5482, allocations: 103.9 kB / 0.767 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.5485, allocations: 165.4 kB / 0.7672 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005677/0.5491, allocations: 264.9 kB / 0.7675 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5491, allocations: 0 / 0.7675 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006726/0.5497, allocations: 318.7 kB / 0.7678 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.5498, allocations: 7.938 kB / 0.7678 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5498, allocations: 4 kB / 0.7678 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.5498, allocations: 3.938 kB / 0.7678 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.5501, allocations: 60 kB / 0.7678 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5501, allocations: 0.5625 kB / 0.7678 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.5503, allocations: 43.92 kB / 0.7679 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.5503, allocations: 11.94 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.0001234/0.5505, allocations: 153.8 kB / 0.768 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.5505, allocations: 31.61 kB / 0.7681 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007162/0.5513, allocations: 312.6 kB / 0.7684 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5513, allocations: 3.938 kB / 0.7684 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5513, allocations: 0 / 0.7684 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5513, allocations: 3.984 kB / 0.7684 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.5526, allocations: 0.9332 MB / 0.7693 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.5526, allocations: 4.188 kB / 0.7693 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.5529, allocations: 47.95 kB / 0.7693 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5529, allocations: 4 kB / 0.7693 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.5529, allocations: 8 kB / 0.7693 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.5529, allocations: 8.484 kB / 0.7694 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5529, allocations: 0 / 0.7694 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009822/0.5539, allocations: 0.5638 MB / 0.7699 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.883e-05/0.554, allocations: 116.8 kB / 0.77 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.5541, allocations: 8 kB / 0.77 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.5543, allocations: 19.97 kB / 0.77 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.5544, allocations: 19.92 kB / 0.7701 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.5544, allocations: 16.75 kB / 0.7701 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001466/0.5545, allocations: 193.9 kB / 0.7703 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5546, allocations: 3.938 kB / 0.7703 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003812/0.5549, allocations: 111.7 kB / 0.7704 GB, free: 8.531 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.001474/0.5564, allocations: 1.197 MB / 0.7715 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006608/0.5571, allocations: 271.6 kB / 0.7718 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5571, allocations: 0 / 0.7718 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.5574, allocations: 140.5 kB / 0.7719 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006914/0.5581, allocations: 136 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.003567/0.5617, allocations: 2.963 MB / 0.775 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.562, allocations: 0.7831 MB / 0.7757 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002273/0.5622, allocations: 61.53 kB / 0.7758 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.5624, allocations: 87.41 kB / 0.7759 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.5624, allocations: 0 / 0.7759 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.698/4.26, allocations: 8.928 MB / 0.7846 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.277/13.54, allocations: 8.688 kB / 0.7846 GB, free: 9.992 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_RelativeHumidity.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)