Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_8_Buildings_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.001057/0.001062, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001222/0.001222, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005541/0.0005541, allocations: 15.25 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3149, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.8986/1.214, allocations: 138.5 MB / 0.9225 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003688/1.217, allocations: 1.558 MB / 0.924 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004419/1.218, allocations: 8.562 kB / 0.9241 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008554/1.219, allocations: 169.8 kB / 0.9242 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/1.22, allocations: 347.7 kB / 0.9246 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001889/1.222, allocations: 485.1 kB / 0.925 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007535/1.223, allocations: 416.7 kB / 0.9254 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004133/1.223, allocations: 201.7 kB / 0.9256 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008537/1.224, allocations: 343.6 kB / 0.9259 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/1.224, allocations: 150 kB / 0.9261 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/1.224, allocations: 14.75 kB / 0.9261 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/1.225, allocations: 416 kB / 0.9265 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/1.226, allocations: 95.44 kB / 0.9266 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003918/1.226, allocations: 77.77 kB / 0.9266 GB, free: 21.63 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006888/1.227, allocations: 393.7 kB / 0.927 GB, free: 21.6 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/1.227, allocations: 0 / 0.927 GB, free: 21.6 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.885e-06/1.227, allocations: 0 / 0.927 GB, free: 21.6 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.869e-06/1.227, allocations: 4.625 kB / 0.927 GB, free: 21.6 MB / 0.7325 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.001131/1.228, allocations: 0.6126 MB / 0.9276 GB, free: 21.13 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.228, allocations: 9.203 kB / 0.9276 GB, free: 21.13 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.946e-05/1.228, allocations: 60.45 kB / 0.9277 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005336/1.229, allocations: 89.66 kB / 0.9278 GB, free: 21.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/1.229, allocations: 296 kB / 0.9281 GB, free: 20.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/1.229, allocations: 18.56 kB / 0.9281 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/1.229, allocations: 21.75 kB / 0.9281 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007216/1.23, allocations: 348.8 kB / 0.9284 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/1.23, allocations: 1.859 kB / 0.9284 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/1.23, allocations: 10.05 kB / 0.9284 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/1.23, allocations: 4.969 kB / 0.9284 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007543/1.231, allocations: 322.3 kB / 0.9288 GB, free: 20.77 MB / 0.7325 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.001756/1.232, allocations: 1.068 MB / 0.9298 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009263/1.233, allocations: 359.9 kB / 0.9301 GB, free: 20.13 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005215/1.234, allocations: 226.2 kB / 0.9304 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/1.234, allocations: 37.88 kB / 0.9304 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.994e-06/1.234, allocations: 1.969 kB / 0.9304 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001326/1.235, allocations: 457.9 kB / 0.9308 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/1.235, allocations: 54.91 kB / 0.9309 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/1.236, allocations: 262.4 kB / 0.9311 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/1.236, allocations: 30.86 kB / 0.9312 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/1.236, allocations: 166.7 kB / 0.9313 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/1.236, allocations: 70.95 kB / 0.9314 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/1.236, allocations: 3 kB / 0.9314 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.236, allocations: 339.9 kB / 0.9317 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/1.236, allocations: 123.7 kB / 0.9318 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/1.237, allocations: 182.7 kB / 0.932 GB, free: 19.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/1.237, allocations: 140.1 kB / 0.9321 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.237, allocations: 0 / 0.9321 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000827/1.238, allocations: 353.9 kB / 0.9325 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.238, allocations: 5.688 kB / 0.9325 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.238, allocations: 1.906 kB / 0.9325 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/1.238, allocations: 3.531 kB / 0.9325 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/1.238, allocations: 63.75 kB / 0.9326 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/1.238, allocations: 3.766 kB / 0.9326 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/1.239, allocations: 58.33 kB / 0.9326 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/1.239, allocations: 12.44 kB / 0.9326 GB, free: 19.02 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0001882/1.239, allocations: 156.3 kB / 0.9328 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/1.239, allocations: 24.92 kB / 0.9328 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009369/1.24, allocations: 344.3 kB / 0.9331 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/1.24, allocations: 2.625 kB / 0.9331 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.24, allocations: 2.594 kB / 0.9331 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.24, allocations: 0.7969 kB / 0.9331 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/1.242, allocations: 0.9734 MB / 0.9341 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.242, allocations: 3.031 kB / 0.9341 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/1.242, allocations: 59.94 kB / 0.9341 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.868e-06/1.242, allocations: 4.156 kB / 0.9341 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/1.242, allocations: 3.531 kB / 0.9341 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/1.242, allocations: 12.05 kB / 0.9342 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.242, allocations: 6.766 kB / 0.9342 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/1.244, allocations: 0.6895 MB / 0.9348 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/1.244, allocations: 126.3 kB / 0.935 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/1.244, allocations: 7.328 kB / 0.935 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/1.244, allocations: 37.94 kB / 0.935 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/1.244, allocations: 23.52 kB / 0.935 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/1.244, allocations: 11.66 kB / 0.935 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002525/1.245, allocations: 189.4 kB / 0.9352 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/1.245, allocations: 5.125 kB / 0.9352 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006494/1.245, allocations: 108.7 kB / 0.9353 GB, free: 17.74 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.002338/1.248, allocations: 1.797 MB / 0.9371 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009504/1.249, allocations: 289.5 kB / 0.9374 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.249, allocations: 0 / 0.9374 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004297/1.249, allocations: 153.8 kB / 0.9375 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007872/1.25, allocations: 134.6 kB / 0.9376 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/1.255, allocations: 2.749 MB / 0.9403 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/1.255, allocations: 0.7907 MB / 0.9411 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003912/1.256, allocations: 62.56 kB / 0.9411 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/1.256, allocations: 89.48 kB / 0.9412 GB, free: 14 MB / 0.7325 GB Notification: Performance of SimCode: time 1.283e-06/1.256, allocations: 0 / 0.9412 GB, free: 14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/1.281, allocations: 7.996 MB / 0.949 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/1.281, allocations: 228.3 kB / 0.9493 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/3.424, allocations: 4 kB / 0.9493 GB, free: 13.19 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) Environment - environmentSimulation: