Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="BuildingSystems_BuildingSystems_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.005133/0.005133, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.00119/0.001191, allocations: 189.6 kB / 16.67 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002006/0.002006, allocations: 282.8 kB / 290.8 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.913/0.913, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 96.36 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.155, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.5075/0.6625, allocations: 165.3 MB / 0.9273 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002736/0.6653, allocations: 1.551 MB / 0.9288 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003579/0.6657, allocations: 11.94 kB / 0.9288 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005133/0.6663, allocations: 150.9 kB / 0.929 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.6675, allocations: 465.8 kB / 0.9294 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.6693, allocations: 0.7525 MB / 0.9302 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0008784/0.6702, allocations: 0.6987 MB / 0.9308 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004593/0.6707, allocations: 271.7 kB / 0.9311 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007148/0.6714, allocations: 310.9 kB / 0.9314 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/0.6718, allocations: 227.1 kB / 0.9316 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.448e-05/0.6719, allocations: 24 kB / 0.9316 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.6735, allocations: 0.8652 MB / 0.9325 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.6737, allocations: 119.7 kB / 0.9326 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.6739, allocations: 159.2 kB / 0.9327 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.6751, allocations: 0.743 MB / 0.9335 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6752, allocations: 0 / 0.9335 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6752, allocations: 0 / 0.9335 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.6752, allocations: 0 / 0.9335 GB, free: 7.582 MB / 0.6856 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.001225/0.6764, allocations: 0.6818 MB / 0.9341 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.6765, allocations: 8.031 kB / 0.9341 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.376e-05/0.6766, allocations: 54.55 kB / 0.9342 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005174/0.6771, allocations: 91.5 kB / 0.9343 GB, free: 6.691 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.6776, allocations: 313.8 kB / 0.9346 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.6776, allocations: 20.56 kB / 0.9346 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.6777, allocations: 24 kB / 0.9346 GB, free: 6.301 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006535/0.6783, allocations: 336.2 kB / 0.9349 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.6784, allocations: 3.984 kB / 0.9349 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.6784, allocations: 4 kB / 0.9349 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.659e-05/0.6785, allocations: 11.94 kB / 0.935 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006415/0.6791, allocations: 285.5 kB / 0.9352 GB, free: 5.66 MB / 0.6856 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.001597/0.6807, allocations: 1.071 MB / 0.9363 GB, free: 4.523 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008506/0.6816, allocations: 319.7 kB / 0.9366 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.6819, allocations: 133.5 kB / 0.9367 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006543/0.6825, allocations: 396.3 kB / 0.9371 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.6826, allocations: 38.56 kB / 0.9371 GB, free: 3.543 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.6826, allocations: 0 / 0.9371 GB, free: 3.543 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001138/0.6837, allocations: 411.5 kB / 0.9375 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.6838, allocations: 55.41 kB / 0.9376 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.6841, allocations: 267 kB / 0.9378 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.6841, allocations: 33.7 kB / 0.9379 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.6842, allocations: 172.1 kB / 0.938 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.6843, allocations: 63.02 kB / 0.9381 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/0.6844, allocations: 45.7 kB / 0.9381 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6845, allocations: 338.8 kB / 0.9384 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/0.6848, allocations: 99.91 kB / 0.9385 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.6851, allocations: 169.2 kB / 0.9387 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000569/0.6857, allocations: 266.9 kB / 0.939 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.6857, allocations: 0.75 kB / 0.939 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006763/0.6864, allocations: 321 kB / 0.9393 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.6864, allocations: 4 kB / 0.9393 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.6864, allocations: 4 kB / 0.9393 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6865, allocations: 4.094 kB / 0.9393 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.6867, allocations: 63.89 kB / 0.9393 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.6867, allocations: 0 / 0.9393 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.687, allocations: 41.75 kB / 0.9394 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.687, allocations: 12 kB / 0.9394 GB, free: 1.137 MB / 0.6856 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.000153/0.6872, allocations: 149.8 kB / 0.9395 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.6872, allocations: 35.55 kB / 0.9396 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007233/0.688, allocations: 315.9 kB / 0.9399 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.688, allocations: 7.938 kB / 0.9399 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.688, allocations: 0 / 0.9399 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.688, allocations: 3.984 kB / 0.9399 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.6895, allocations: 0.9292 MB / 0.9408 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.6895, allocations: 4 kB / 0.9408 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.6898, allocations: 47.89 kB / 0.9408 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.6898, allocations: 4.047 kB / 0.9408 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.6898, allocations: 13.55 kB / 0.9409 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.6898, allocations: 4 kB / 0.9409 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6898, allocations: 0 / 0.9409 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.6909, allocations: 0.5621 MB / 0.9414 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.691, allocations: 124.8 kB / 0.9415 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.6911, allocations: 8 kB / 0.9415 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.6913, allocations: 28.03 kB / 0.9416 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.6914, allocations: 19.92 kB / 0.9416 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.6914, allocations: 8 kB / 0.9416 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001791/0.6916, allocations: 197.9 kB / 0.9418 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6916, allocations: 0 / 0.9418 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004215/0.692, allocations: 103.8 kB / 0.9419 GB, free: 14.42 MB / 0.7012 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.001727/0.6938, allocations: 1.208 MB / 0.9431 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000673/0.6945, allocations: 255.7 kB / 0.9433 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6945, allocations: 0 / 0.9433 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.6948, allocations: 140.2 kB / 0.9434 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007326/0.6956, allocations: 134.1 kB / 0.9436 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.6997, allocations: 2.957 MB / 0.9464 GB, free: 9.574 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.7001, allocations: 0.7794 MB / 0.9472 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002171/0.7004, allocations: 63.25 kB / 0.9473 GB, free: 8.707 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.7005, allocations: 95.39 kB / 0.9474 GB, free: 8.613 MB / 0.7012 GB Notification: Performance of SimCode: time 6.21e-07/0.7005, allocations: 0 / 0.9474 GB, free: 8.613 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03214/0.7327, allocations: 9.09 MB / 0.9562 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.389/8.122, allocations: 8.281 kB / 0.9562 GB, free: 15.71 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_RelativeHumidity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)