Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IBPSA_latest_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.001256/0.001256, allocations: 106.2 kB / 16.4 MB, free: 6.484 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.001317/0.001317, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7404/0.7404, allocations: 115.3 MB / 406.5 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 65.19 kB / 0.5572 GB, free: 32.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1461, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.RelativeHumidity): time 0.5415/0.6877, allocations: 165.2 MB / 0.793 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003104/0.6908, allocations: 1.563 MB / 0.7945 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000597/0.6914, allocations: 11.91 kB / 0.7945 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006227/0.6921, allocations: 146.8 kB / 0.7946 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001852/0.694, allocations: 471.6 kB / 0.7951 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.6971, allocations: 0.7458 MB / 0.7958 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.6984, allocations: 0.7109 MB / 0.7965 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005871/0.699, allocations: 256.1 kB / 0.7968 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009297/0.6999, allocations: 323.4 kB / 0.7971 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.7005, allocations: 225 kB / 0.7973 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.7006, allocations: 23.5 kB / 0.7973 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.7029, allocations: 0.8677 MB / 0.7982 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.7032, allocations: 111.5 kB / 0.7983 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003044/0.7035, allocations: 160.3 kB / 0.7984 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.7054, allocations: 0.7368 MB / 0.7991 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.7054, allocations: 5.281 kB / 0.7991 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7054, allocations: 0 / 0.7991 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.941e-05/0.7055, allocations: 4 kB / 0.7991 GB, free: 12.16 MB / 0.5919 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.001598/0.7071, allocations: 0.6676 MB / 0.7998 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.7071, allocations: 10.84 kB / 0.7998 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.463e-05/0.7072, allocations: 58.86 kB / 0.7999 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005518/0.7077, allocations: 86.77 kB / 0.7999 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.7083, allocations: 316.2 kB / 0.8002 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.7083, allocations: 21.25 kB / 0.8003 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.7084, allocations: 29.02 kB / 0.8003 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.7091, allocations: 328.5 kB / 0.8006 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.7091, allocations: 0 / 0.8006 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.7091, allocations: 9.688 kB / 0.8006 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.7092, allocations: 8.656 kB / 0.8006 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007017/0.7099, allocations: 287 kB / 0.8009 GB, free: 11.29 MB / 0.5919 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.001786/0.7117, allocations: 1.064 MB / 0.8019 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008927/0.7126, allocations: 326.1 kB / 0.8022 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.7129, allocations: 133.4 kB / 0.8024 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006862/0.7136, allocations: 391.4 kB / 0.8027 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.7136, allocations: 38.69 kB / 0.8028 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=19): time 1.994e-06/0.7137, allocations: 0 / 0.8028 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001257/0.7149, allocations: 410.5 kB / 0.8032 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.715, allocations: 58.06 kB / 0.8032 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.7152, allocations: 269 kB / 0.8035 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.7153, allocations: 31.67 kB / 0.8035 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.7154, allocations: 168.4 kB / 0.8037 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.7155, allocations: 67.05 kB / 0.8037 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.99e-05/0.7156, allocations: 46.02 kB / 0.8038 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7157, allocations: 336.8 kB / 0.8041 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.716, allocations: 110.5 kB / 0.8042 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.7164, allocations: 159.6 kB / 0.8044 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006079/0.717, allocations: 272.5 kB / 0.8046 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.717, allocations: 4 kB / 0.8046 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007715/0.7178, allocations: 319.4 kB / 0.8049 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.7178, allocations: 8.875 kB / 0.8049 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.7178, allocations: 5.969 kB / 0.8049 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.7178, allocations: 6.844 kB / 0.8049 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.7181, allocations: 52.33 kB / 0.805 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.7181, allocations: 6.188 kB / 0.805 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.7184, allocations: 37.03 kB / 0.805 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.7185, allocations: 8.594 kB / 0.805 GB, free: 9.09 MB / 0.5919 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.0001748/0.7187, allocations: 158.7 kB / 0.8052 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.494e-05/0.7187, allocations: 24.25 kB / 0.8052 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00078/0.7195, allocations: 321.5 kB / 0.8055 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.7195, allocations: 10.05 kB / 0.8055 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7195, allocations: 0 / 0.8055 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.7195, allocations: 4 kB / 0.8055 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.7211, allocations: 0.9273 MB / 0.8064 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.7211, allocations: 1.938 kB / 0.8065 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.7214, allocations: 50.53 kB / 0.8065 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.7214, allocations: 2.531 kB / 0.8065 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.7214, allocations: 8.875 kB / 0.8065 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.595e-06/0.7215, allocations: 5.984 kB / 0.8065 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7215, allocations: 6.875 kB / 0.8065 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.7226, allocations: 0.5506 MB / 0.8071 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.7227, allocations: 122.4 kB / 0.8072 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.7228, allocations: 4.406 kB / 0.8072 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.723, allocations: 29.12 kB / 0.8072 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.7231, allocations: 19.33 kB / 0.8072 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.7231, allocations: 10.84 kB / 0.8072 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001753/0.7233, allocations: 194.7 kB / 0.8074 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7233, allocations: 0 / 0.8074 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004791/0.7238, allocations: 106.8 kB / 0.8075 GB, free: 7.613 MB / 0.5919 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.001808/0.7256, allocations: 1.214 MB / 0.8087 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000752/0.7264, allocations: 250.7 kB / 0.8089 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.7264, allocations: 320 / 0.8089 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.7268, allocations: 142.2 kB / 0.8091 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007779/0.7276, allocations: 129.3 kB / 0.8092 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.7319, allocations: 2.964 MB / 0.8121 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.7323, allocations: 0.7806 MB / 0.8129 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002411/0.7325, allocations: 69.48 kB / 0.8129 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.7327, allocations: 87.34 kB / 0.813 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of SimCode: time 8.52e-07/0.7327, allocations: 3.938 kB / 0.813 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.762, allocations: 9.077 MB / 0.8219 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/8.542, allocations: 8.328 kB / 0.8219 GB, free: 15.41 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)