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.001091/0.001091, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001143/0.001143, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.332/1.332, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002014/0.002014, allocations: 283 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9563/0.9563, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 98.61 kB / 0.5948 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1434, allocations: 86.98 MB / 0.6797 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.4319/0.5753, allocations: 163 MB / 0.8389 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002278/0.5776, allocations: 1.534 MB / 0.8404 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.5778, allocations: 13.56 kB / 0.8404 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.5782, allocations: 121 kB / 0.8406 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000963/0.5792, allocations: 435.3 kB / 0.841 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.5806, allocations: 0.6973 MB / 0.8416 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006097/0.5812, allocations: 0.7051 MB / 0.8423 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.5816, allocations: 251.5 kB / 0.8426 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004148/0.582, allocations: 315.8 kB / 0.8429 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.5822, allocations: 241.7 kB / 0.8431 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.5823, allocations: 24.75 kB / 0.8431 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.5834, allocations: 0.8923 MB / 0.844 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.5835, allocations: 116.1 kB / 0.8441 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.5837, allocations: 158.6 kB / 0.8443 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009466/0.5846, allocations: 0.7889 MB / 0.845 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5846, allocations: 1.5 kB / 0.845 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5846, allocations: 0 / 0.845 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.5847, allocations: 0 / 0.845 GB, free: 14.33 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.001139/0.5858, allocations: 0.6831 MB / 0.8457 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.5859, allocations: 9.438 kB / 0.8457 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.5859, allocations: 55.11 kB / 0.8458 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004928/0.5864, allocations: 88.19 kB / 0.8459 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.5868, allocations: 296.2 kB / 0.8461 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.5868, allocations: 19.28 kB / 0.8462 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.5869, allocations: 26.94 kB / 0.8462 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.5875, allocations: 336.5 kB / 0.8465 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.5875, allocations: 0 / 0.8465 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.5875, allocations: 6.719 kB / 0.8465 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.5875, allocations: 12.69 kB / 0.8465 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000616/0.5881, allocations: 286.4 kB / 0.8468 GB, free: 12.99 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.001379/0.5895, allocations: 1.076 MB / 0.8478 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007961/0.5903, allocations: 319.5 kB / 0.8481 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.5906, allocations: 136.1 kB / 0.8483 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005863/0.5912, allocations: 395.4 kB / 0.8487 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.5913, allocations: 34.56 kB / 0.8487 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.212e-06/0.5913, allocations: 0 / 0.8487 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001051/0.5923, allocations: 412.9 kB / 0.8491 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.5924, allocations: 58.89 kB / 0.8491 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.5926, allocations: 262.3 kB / 0.8494 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.5926, allocations: 29.7 kB / 0.8494 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.5927, allocations: 168.3 kB / 0.8496 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.5928, allocations: 62.09 kB / 0.8496 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.5928, allocations: 56.14 kB / 0.8497 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.5929, allocations: 335.8 kB / 0.85 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.5932, allocations: 103 kB / 0.8501 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.5935, allocations: 171.1 kB / 0.8503 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/0.5941, allocations: 263.6 kB / 0.8505 GB, free: 10 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5941, allocations: 0 / 0.8505 GB, free: 10 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006517/0.5948, allocations: 320.3 kB / 0.8508 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.5948, allocations: 9.047 kB / 0.8508 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.5948, allocations: 0 / 0.8508 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.5948, allocations: 6.906 kB / 0.8508 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.5951, allocations: 53.75 kB / 0.8509 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.5951, allocations: 6.922 kB / 0.8509 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.5954, allocations: 45.62 kB / 0.8509 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.5954, allocations: 12 kB / 0.851 GB, free: 9.781 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.5955, allocations: 151.8 kB / 0.8511 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.5956, allocations: 25.06 kB / 0.8511 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007045/0.5963, allocations: 319.2 kB / 0.8514 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.5963, allocations: 12.69 kB / 0.8514 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5963, allocations: 3.938 kB / 0.8514 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.5963, allocations: 3.984 kB / 0.8514 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.5976, allocations: 0.9283 MB / 0.8524 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.5977, allocations: 3.031 kB / 0.8524 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.5979, allocations: 51.17 kB / 0.8524 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5979, allocations: 2.719 kB / 0.8524 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.5979, allocations: 6.094 kB / 0.8524 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5979, allocations: 4.406 kB / 0.8524 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.598, allocations: 2 kB / 0.8524 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009749/0.5989, allocations: 0.5703 MB / 0.853 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.5991, allocations: 119.8 kB / 0.8531 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.5991, allocations: 6.594 kB / 0.8531 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.5994, allocations: 34.81 kB / 0.8531 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.5994, allocations: 21.52 kB / 0.8531 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.5995, allocations: 6.094 kB / 0.8532 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001809/0.5996, allocations: 197.9 kB / 0.8533 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5997, allocations: 0 / 0.8533 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004468/0.6001, allocations: 100.4 kB / 0.8534 GB, free: 7.922 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 (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.001762/0.6019, allocations: 1.197 MB / 0.8546 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007311/0.6026, allocations: 261.4 kB / 0.8549 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6026, allocations: 4.312 kB / 0.8549 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003484/0.603, allocations: 139.6 kB / 0.855 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007136/0.6037, allocations: 139 kB / 0.8551 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.6075, allocations: 3.062 MB / 0.8581 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.6078, allocations: 0.7845 MB / 0.8589 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002366/0.6081, allocations: 61.5 kB / 0.8589 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.6082, allocations: 94.92 kB / 0.859 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.6082, allocations: 0 / 0.859 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3426/0.9508, allocations: 8.624 MB / 0.8675 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.9511, allocations: 257.1 kB / 0.8677 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.885, allocations: 2.094 kB / 0.8677 GB, free: 15.12 MB / 0.5919 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)