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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.007853/0.007853, allocations: 98.7 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 196.4 kB / 16.68 MB, free: 5.969 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9134/0.9134, allocations: 143.3 MB / 433.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 69.05 kB / 0.5953 GB, free: 12.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1617, allocations: 82.04 MB / 0.6754 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity): time 0.5179/0.6797, allocations: 165.3 MB / 0.8369 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.6826, allocations: 1.555 MB / 0.8384 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.6829, allocations: 15.97 kB / 0.8384 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005009/0.6834, allocations: 141.8 kB / 0.8385 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.6846, allocations: 467.6 kB / 0.839 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.6865, allocations: 0.7631 MB / 0.8397 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007513/0.6872, allocations: 0.6976 MB / 0.8404 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.6876, allocations: 266 kB / 0.8407 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004723/0.6881, allocations: 312.6 kB / 0.841 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.6884, allocations: 226.5 kB / 0.8412 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.6884, allocations: 25.72 kB / 0.8412 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.6899, allocations: 0.8666 MB / 0.842 GB, free: 352 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.6901, allocations: 111 kB / 0.8422 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.6902, allocations: 160.7 kB / 0.8423 GB, free: 172 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.6914, allocations: 0.7624 MB / 0.843 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6914, allocations: 0 / 0.843 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6914, allocations: 0 / 0.843 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.6914, allocations: 0 / 0.843 GB, free: 15.71 MB / 0.6231 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.00118/0.6926, allocations: 0.6926 MB / 0.8437 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.6926, allocations: 9.719 kB / 0.8437 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.682e-05/0.6927, allocations: 54.36 kB / 0.8438 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004758/0.6932, allocations: 92.77 kB / 0.8439 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.6937, allocations: 317 kB / 0.8442 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.6937, allocations: 19.34 kB / 0.8442 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.6937, allocations: 18.5 kB / 0.8442 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000662/0.6944, allocations: 336.8 kB / 0.8445 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.6944, allocations: 0 / 0.8445 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.6945, allocations: 10.34 kB / 0.8445 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.6945, allocations: 12.7 kB / 0.8446 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007103/0.6952, allocations: 287 kB / 0.8448 GB, free: 14.34 MB / 0.6231 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.001647/0.6969, allocations: 1.072 MB / 0.8459 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008933/0.6978, allocations: 327 kB / 0.8462 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.6981, allocations: 131.3 kB / 0.8463 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007103/0.6988, allocations: 397 kB / 0.8467 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.6989, allocations: 34.56 kB / 0.8467 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.6989, allocations: 0 / 0.8467 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.001214/0.7001, allocations: 407.1 kB / 0.8471 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.7001, allocations: 58.12 kB / 0.8472 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.7004, allocations: 269.2 kB / 0.8474 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.7005, allocations: 28.11 kB / 0.8475 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.7006, allocations: 175.7 kB / 0.8476 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.7007, allocations: 66.92 kB / 0.8477 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.962e-05/0.7008, allocations: 47.27 kB / 0.8477 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.7009, allocations: 331.8 kB / 0.848 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.7012, allocations: 107.3 kB / 0.8481 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.7016, allocations: 160.4 kB / 0.8483 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006402/0.7023, allocations: 275.6 kB / 0.8486 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7023, allocations: 3.938 kB / 0.8486 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00073/0.703, allocations: 317.1 kB / 0.8489 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.703, allocations: 4.875 kB / 0.8489 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.703, allocations: 3.5 kB / 0.8489 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.7031, allocations: 10.06 kB / 0.8489 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.7033, allocations: 52.92 kB / 0.8489 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.7033, allocations: 6.031 kB / 0.8489 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.7036, allocations: 45.34 kB / 0.849 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.7036, allocations: 7.719 kB / 0.849 GB, free: 11.11 MB / 0.6231 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.0001548/0.7038, allocations: 151.8 kB / 0.8491 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.7039, allocations: 28.27 kB / 0.8492 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007872/0.7047, allocations: 319.3 kB / 0.8495 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.7047, allocations: 6.719 kB / 0.8495 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7047, allocations: 0 / 0.8495 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7047, allocations: 0 / 0.8495 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.7063, allocations: 0.9312 MB / 0.8504 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.7063, allocations: 2.906 kB / 0.8504 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.7065, allocations: 55.02 kB / 0.8504 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.7066, allocations: 1.875 kB / 0.8504 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.7066, allocations: 9.531 kB / 0.8505 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.7066, allocations: 2.375 kB / 0.8505 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7066, allocations: 192 / 0.8505 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.7077, allocations: 0.5634 MB / 0.851 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.7079, allocations: 132.9 kB / 0.8511 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.7079, allocations: 8 kB / 0.8511 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.7082, allocations: 24.03 kB / 0.8512 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.162e-05/0.7083, allocations: 23.91 kB / 0.8512 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.7083, allocations: 12 kB / 0.8512 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001912/0.7085, allocations: 186 kB / 0.8514 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7085, allocations: 0 / 0.8514 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004426/0.7089, allocations: 115.8 kB / 0.8515 GB, free: 8.91 MB / 0.6231 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.001854/0.7108, allocations: 1.199 MB / 0.8527 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007647/0.7116, allocations: 259.8 kB / 0.8529 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7116, allocations: 320 / 0.8529 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.712, allocations: 139.8 kB / 0.853 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/0.7127, allocations: 131.3 kB / 0.8532 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00472/0.7175, allocations: 2.976 MB / 0.8561 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.7179, allocations: 0.7793 MB / 0.8568 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002679/0.7182, allocations: 74.22 kB / 0.8569 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.7184, allocations: 91.41 kB / 0.857 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of SimCode: time 7.61e-07/0.7184, allocations: 0 / 0.857 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.7531, allocations: 9 MB / 0.8658 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.212/8.965, allocations: 14.52 kB / 0.8658 GB, free: 10.26 MB / 0.6387 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)