Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007375/0.007375, allocations: 104.1 kB / 15.73 MB, free: 5.578 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.001754/0.001754, allocations: 190 kB / 16.67 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 251.7 MB / 0.5094 GB, free: 428 kB / 430.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.001402/0.001402, allocations: 71.89 kB / 0.7258 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.704, allocations: 104.7 MB / 0.828 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.RelativeHumidity): time 0.1962/0.9002, allocations: 165.4 MB / 0.9896 GB, free: 12.59 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003342/0.9036, allocations: 1.599 MB / 0.9911 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004088/0.904, allocations: 7.938 kB / 0.9911 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005468/0.9046, allocations: 146.9 kB / 0.9913 GB, free: 10.84 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.906, allocations: 465.8 kB / 0.9917 GB, free: 10.38 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.908, allocations: 0.762 MB / 0.9925 GB, free: 9.621 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0008022/0.9088, allocations: 0.6981 MB / 0.9931 GB, free: 8.922 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004011/0.9093, allocations: 270.6 kB / 0.9934 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005067/0.9098, allocations: 302.9 kB / 0.9937 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.9101, allocations: 227.1 kB / 0.9939 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.9101, allocations: 24 kB / 0.9939 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.9116, allocations: 0.8652 MB / 0.9948 GB, free: 7.246 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.9117, allocations: 111.7 kB / 0.9949 GB, free: 7.137 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.9119, allocations: 155.2 kB / 0.995 GB, free: 6.984 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.913, allocations: 0.7348 MB / 0.9957 GB, free: 6.25 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.913, allocations: 7.938 kB / 0.9957 GB, free: 6.242 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.126e-06/0.913, allocations: 4 kB / 0.9958 GB, free: 6.238 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.913, allocations: 3.938 kB / 0.9958 GB, free: 6.234 MB / 0.795 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.001209/0.9142, allocations: 0.6702 MB / 0.9964 GB, free: 5.516 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.9143, allocations: 8.031 kB / 0.9964 GB, free: 5.508 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005377/0.9148, allocations: 87.5 kB / 0.9965 GB, free: 5.422 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.9153, allocations: 308 kB / 0.9968 GB, free: 5.082 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.9153, allocations: 28.44 kB / 0.9968 GB, free: 5.055 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.9154, allocations: 24 kB / 0.9968 GB, free: 5.031 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006704/0.916, allocations: 324.2 kB / 0.9972 GB, free: 4.703 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.9161, allocations: 3.938 kB / 0.9972 GB, free: 4.699 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.9161, allocations: 12 kB / 0.9972 GB, free: 4.688 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.9161, allocations: 11.94 kB / 0.9972 GB, free: 4.676 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007229/0.9168, allocations: 285.5 kB / 0.9975 GB, free: 4.395 MB / 0.795 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.001769/0.9186, allocations: 1.063 MB / 0.9985 GB, free: 3.27 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009695/0.9196, allocations: 323.7 kB / 0.9988 GB, free: 2.926 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.92, allocations: 132.8 kB / 0.9989 GB, free: 2.793 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008669/0.9208, allocations: 392.3 kB / 0.9993 GB, free: 2.336 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.9209, allocations: 38.55 kB / 0.9993 GB, free: 2.289 MB / 0.795 GB Notification: Performance of pre-optimization done (n=19): time 2.094e-06/0.9209, allocations: 4 kB / 0.9993 GB, free: 2.285 MB / 0.795 GB Notification: Performance of matching and sorting (n=19): time 0.00133/0.9223, allocations: 403.9 kB / 0.9997 GB, free: 1.887 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.9223, allocations: 59.41 kB / 0.9998 GB, free: 1.816 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.9226, allocations: 262.7 kB / 1 GB, free: 1.555 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.9227, allocations: 29.7 kB / 1 GB, free: 1.52 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.9228, allocations: 172.1 kB / 1 GB, free: 1.348 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/0.9229, allocations: 67.03 kB / 1 GB, free: 1.281 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.923, allocations: 41.7 kB / 1 GB, free: 1.234 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.9231, allocations: 338.8 kB / 1.001 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.9235, allocations: 107.9 kB / 1.001 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.9238, allocations: 149 kB / 1.001 GB, free: 0.625 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/0.9245, allocations: 265 kB / 1.001 GB, free: 356 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.9245, allocations: 4.062 kB / 1.001 GB, free: 352 kB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008193/0.9253, allocations: 320.7 kB / 1.001 GB, free: 28 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.015e-05/0.9254, allocations: 11.98 kB / 1.001 GB, free: 16 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.9254, allocations: 7.875 kB / 1.001 GB, free: 8 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/0.9254, allocations: 7.938 kB / 1.001 GB, free: 0 / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.9258, allocations: 47.97 kB / 1.002 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.9258, allocations: 7.984 kB / 1.002 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.9261, allocations: 35.81 kB / 1.002 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.9262, allocations: 12 kB / 1.002 GB, free: 15.9 MB / 0.8106 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.0002128/0.9264, allocations: 149.8 kB / 1.002 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.9265, allocations: 27.72 kB / 1.002 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009009/0.9274, allocations: 319.4 kB / 1.002 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.9274, allocations: 3.938 kB / 1.002 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.9274, allocations: 8 kB / 1.002 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.9274, allocations: 0 / 1.002 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.9292, allocations: 0.9212 MB / 1.003 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.9292, allocations: 4 kB / 1.003 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.9295, allocations: 47.95 kB / 1.003 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.9295, allocations: 0 / 1.003 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.9295, allocations: 8.188 kB / 1.003 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.9295, allocations: 11.94 kB / 1.003 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9295, allocations: 3.938 kB / 1.003 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.9307, allocations: 0.5547 MB / 1.004 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.9308, allocations: 120.7 kB / 1.004 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.9309, allocations: 12.06 kB / 1.004 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.9311, allocations: 19.97 kB / 1.004 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/0.9312, allocations: 23.91 kB / 1.004 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.9312, allocations: 12 kB / 1.004 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002434/0.9315, allocations: 186 kB / 1.004 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9315, allocations: 0 / 1.004 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004636/0.9319, allocations: 107.8 kB / 1.004 GB, free: 13.21 MB / 0.8106 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.0004932/0.9324, allocations: 221.3 kB / 1.004 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007137/0.9332, allocations: 247.9 kB / 1.004 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9332, allocations: 0 / 1.004 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.9335, allocations: 143.8 kB / 1.005 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007676/0.9343, allocations: 123.9 kB / 1.005 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.9355, allocations: 0.5955 MB / 1.005 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.9358, allocations: 0.7755 MB / 1.006 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.936, allocations: 66.23 kB / 1.006 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.035e-05/0.9361, allocations: 27.38 kB / 1.006 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of SimCode: time 7.21e-07/0.9361, allocations: 0 / 1.006 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of Templates: time 0.01143/0.9476, allocations: 5.923 MB / 1.012 GB, free: 5.121 MB / 0.8106 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)