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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.000918/0.0009179, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.001062/0.001062, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9818/0.9818, allocations: 143.4 MB / 434.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 8 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1667, allocations: 83.42 MB / 0.5975 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity): time 0.4474/0.6142, allocations: 150.1 MB / 0.7441 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002819/0.617, allocations: 1.482 MB / 0.7456 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002522/0.6173, allocations: 9.25 kB / 0.7456 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.6177, allocations: 103.4 kB / 0.7457 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.6189, allocations: 352.1 kB / 0.746 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.6209, allocations: 0.5595 MB / 0.7466 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009678/0.6219, allocations: 0.8303 MB / 0.7474 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003324/0.6222, allocations: 192.4 kB / 0.7476 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004664/0.6227, allocations: 284.8 kB / 0.7478 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.623, allocations: 223.6 kB / 0.7481 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.623, allocations: 12 kB / 0.7481 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.6243, allocations: 0.5457 MB / 0.7486 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.6244, allocations: 99.67 kB / 0.7487 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.275e-05/0.6245, allocations: 77.58 kB / 0.7488 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007048/0.6252, allocations: 482.9 kB / 0.7492 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.6252, allocations: 3.938 kB / 0.7492 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6252, allocations: 0 / 0.7492 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.6252, allocations: 0 / 0.7492 GB, free: 0.8086 MB / 0.5606 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.001093/0.6263, allocations: 0.6401 MB / 0.7499 GB, free: 128 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.6264, allocations: 8.031 kB / 0.7499 GB, free: 120 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.387e-05/0.6265, allocations: 59.34 kB / 0.7499 GB, free: 52 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000464/0.6269, allocations: 91.5 kB / 0.75 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.6273, allocations: 298 kB / 0.7503 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.6274, allocations: 12.56 kB / 0.7503 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.6274, allocations: 24 kB / 0.7503 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/0.6281, allocations: 344.2 kB / 0.7507 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.6281, allocations: 0 / 0.7507 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.6281, allocations: 12 kB / 0.7507 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.6282, allocations: 4 kB / 0.7507 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007106/0.6289, allocations: 321.5 kB / 0.751 GB, free: 14.91 MB / 0.5762 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.001627/0.6305, allocations: 1.076 MB / 0.752 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008291/0.6314, allocations: 347.6 kB / 0.7524 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.6317, allocations: 152.7 kB / 0.7525 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006515/0.6323, allocations: 404.3 kB / 0.7529 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.6324, allocations: 39.5 kB / 0.7529 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.222e-06/0.6324, allocations: 0 / 0.7529 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001144/0.6335, allocations: 451.1 kB / 0.7534 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.6336, allocations: 59.34 kB / 0.7534 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.6339, allocations: 274.9 kB / 0.7537 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.6339, allocations: 25.7 kB / 0.7537 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.634, allocations: 176.1 kB / 0.7539 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.302e-05/0.6341, allocations: 67.03 kB / 0.7539 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.6341, allocations: 4 kB / 0.7539 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6342, allocations: 338.8 kB / 0.7543 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.6345, allocations: 115.9 kB / 0.7544 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.6349, allocations: 182.9 kB / 0.7545 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.6352, allocations: 134.2 kB / 0.7547 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6352, allocations: 4 kB / 0.7547 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006678/0.6359, allocations: 345.1 kB / 0.755 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.6359, allocations: 8 kB / 0.755 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6359, allocations: 0 / 0.755 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.6359, allocations: 4 kB / 0.755 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.6362, allocations: 68.08 kB / 0.7551 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.6362, allocations: 7.938 kB / 0.7551 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.6364, allocations: 51.67 kB / 0.7551 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.6365, allocations: 11.98 kB / 0.7551 GB, free: 10.39 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.6366, allocations: 153.8 kB / 0.7553 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.6367, allocations: 24.59 kB / 0.7553 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007634/0.6375, allocations: 353.3 kB / 0.7557 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6375, allocations: 4 kB / 0.7557 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.6375, allocations: 4.812 kB / 0.7557 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6375, allocations: 0 / 0.7557 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.639, allocations: 0.9542 MB / 0.7566 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.639, allocations: 0 / 0.7566 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.6393, allocations: 64.08 kB / 0.7567 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.6393, allocations: 11.94 kB / 0.7567 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.6393, allocations: 4.625 kB / 0.7567 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.6393, allocations: 3.953 kB / 0.7567 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6393, allocations: 4 kB / 0.7567 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.6404, allocations: 0.6073 MB / 0.7573 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.6406, allocations: 120.8 kB / 0.7574 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.6406, allocations: 3.125 kB / 0.7574 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.6409, allocations: 47.92 kB / 0.7574 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.641, allocations: 19.94 kB / 0.7575 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.641, allocations: 8 kB / 0.7575 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000193/0.6412, allocations: 193.9 kB / 0.7576 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6412, allocations: 0 / 0.7576 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004861/0.6417, allocations: 103.9 kB / 0.7577 GB, free: 7.562 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001798/0.6435, allocations: 1.258 MB / 0.759 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006658/0.6442, allocations: 289.5 kB / 0.7593 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6442, allocations: 0 / 0.7593 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.6445, allocations: 148.3 kB / 0.7594 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/0.6453, allocations: 119.6 kB / 0.7595 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.6484, allocations: 1.859 MB / 0.7613 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.6488, allocations: 0.7758 MB / 0.7621 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002678/0.6491, allocations: 74.86 kB / 0.7622 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.6493, allocations: 91.34 kB / 0.7622 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.6493, allocations: 0 / 0.7622 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.6715, allocations: 8.311 MB / 0.7704 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.6717, allocations: 236.9 kB / 0.7706 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.622, allocations: 0 / 0.7706 GB, free: 10.54 MB / 0.5919 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/linux/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) Environment - environmentSimulation: