Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.849/1.849, allocations: 288.3 MB / 303.2 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 173.1 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008869/0.0008869, allocations: 89.16 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007202/0.0007203, allocations: 14.84 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3237, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002549/0.3263, allocations: 2.108 MB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009916/0.3274, allocations: 0.7132 MB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.3275, allocations: 0 / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.3277, allocations: 27.83 kB / 0.9822 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.3279, allocations: 67.83 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.3282, allocations: 86 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.3284, allocations: 103.8 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.3287, allocations: 171.2 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.831e-05/0.3287, allocations: 51.83 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.3289, allocations: 55.78 kB / 0.9827 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.329, allocations: 12 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3291, allocations: 55.83 kB / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.3291, allocations: 43.89 kB / 0.9828 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.3292, allocations: 49.64 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.3294, allocations: 163.9 kB / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3294, allocations: 0 / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3294, allocations: 0 / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3294, allocations: 0 / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005409/0.3299, allocations: 423.1 kB / 0.9834 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.33, allocations: 16.03 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003725/0.3304, allocations: 55.7 kB / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.3306, allocations: 206.9 kB / 0.9837 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3306, allocations: 12.28 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.3307, allocations: 12 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.331, allocations: 226.7 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.331, allocations: 0 / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.331, allocations: 8 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.3311, allocations: 16.2 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.3312, allocations: 148.7 kB / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008779/0.3321, allocations: 1.13 MB / 0.9852 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.778e-05/0.3322, allocations: 34.56 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.3322, allocations: 4 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.3323, allocations: 42.52 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3323, allocations: 3.938 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001879/0.3325, allocations: 73.8 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.3325, allocations: 51.41 kB / 0.9854 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3326, allocations: 176.8 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.3326, allocations: 25.7 kB / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.3327, allocations: 139.4 kB / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/0.3327, allocations: 23.73 kB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.3327, allocations: 0 / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.3328, allocations: 322.8 kB / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.303e-05/0.3328, allocations: 19.98 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.343e-05/0.3329, allocations: 85.44 kB / 0.9862 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.54e-05/0.333, allocations: 39.91 kB / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.333, allocations: 4 kB / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001558/0.3331, allocations: 133.3 kB / 0.9863 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000209/0.3333, allocations: 0.9641 MB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3334, allocations: 4 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.3334, allocations: 3.953 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3335, allocations: 31.92 kB / 0.9873 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3335, allocations: 4 kB / 0.9873 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.353e-05/0.3336, allocations: 23.84 kB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3336, allocations: 4 kB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.3336, allocations: 4 kB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001148/0.3337, allocations: 95.7 kB / 0.9874 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.3338, allocations: 8.25 kB / 0.9874 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-06/0.3338, allocations: 8 kB / 0.9874 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/0.3338, allocations: 27.92 kB / 0.9875 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.3338, allocations: 4 kB / 0.9875 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.3339, allocations: 15.84 kB / 0.9875 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.3339, allocations: 4 kB / 0.9875 GB, free: 18.95 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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 8.268e-05/0.334, allocations: 209.1 kB / 0.9877 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.334, allocations: 15.84 kB / 0.9877 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.3341, allocations: 16.92 kB / 0.9877 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3341, allocations: 4 kB / 0.9877 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3341, allocations: 7.938 kB / 0.9877 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3341, allocations: 0 / 0.9877 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.3344, allocations: 465.1 kB / 0.9882 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3344, allocations: 0 / 0.9882 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.3345, allocations: 8.125 kB / 0.9882 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3345, allocations: 4 kB / 0.9882 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3345, allocations: 4 kB / 0.9882 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3345, allocations: 7.938 kB / 0.9882 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3345, allocations: 0 / 0.9882 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.3346, allocations: 144.7 kB / 0.9883 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.3347, allocations: 100.9 kB / 0.9884 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.3347, allocations: 4 kB / 0.9884 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.215e-05/0.3347, allocations: 0 / 0.9884 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.3348, allocations: 3.938 kB / 0.9884 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.3348, allocations: 4 kB / 0.9885 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.91e-05/0.3349, allocations: 133.6 kB / 0.9886 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3349, allocations: 0 / 0.9886 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003107/0.3352, allocations: 51.84 kB / 0.9886 GB, free: 17.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (4): * Single equations (assignments): 4 * 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 9.209e-05/0.3353, allocations: 103.2 kB / 0.9887 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001575/0.3354, allocations: 104.8 kB / 0.9888 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3354, allocations: 4.125 kB / 0.9888 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/0.3355, allocations: 15.98 kB / 0.9888 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.3357, allocations: 27.88 kB / 0.9889 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.3362, allocations: 321 kB / 0.9892 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.3363, allocations: 0.728 MB / 0.9899 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.798e-05/0.3364, allocations: 24.56 kB / 0.9899 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.3365, allocations: 19.42 kB / 0.9899 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.3365, allocations: 0 / 0.9899 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.002765/0.3392, allocations: 0.7956 MB / 0.9907 GB, free: 15.46 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)