Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.757/1.757, allocations: 287.5 MB / 302.6 MB, free: 8.312 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.0009989/0.0009989, allocations: 194.8 kB / 371.2 MB, free: 10.83 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.408/1.408, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007632/0.0007632, allocations: 96.48 kB / 0.7432 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003872, allocations: 9.656 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2272, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002384/0.2296, allocations: 2.134 MB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.2307, allocations: 0.7249 MB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.2308, allocations: 4 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.231, allocations: 27.78 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.2312, allocations: 83.62 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.2315, allocations: 87.83 kB / 0.9817 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.2317, allocations: 235.3 kB / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.2319, allocations: 175.2 kB / 0.982 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.357e-05/0.232, allocations: 63.77 kB / 0.9821 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.2322, allocations: 87.7 kB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.2322, allocations: 8 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.2323, allocations: 55.89 kB / 0.9823 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.2324, allocations: 51.88 kB / 0.9823 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.2324, allocations: 49.64 kB / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.2326, allocations: 159.9 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2326, allocations: 0 / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2326, allocations: 0 / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.2326, allocations: 3.938 kB / 0.9825 GB, free: 24.22 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.0004523/0.2331, allocations: 429.5 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.2331, allocations: 8.031 kB / 0.9829 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000312/0.2334, allocations: 52.7 kB / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.2336, allocations: 212.1 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.2336, allocations: 12.66 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.2336, allocations: 12.38 kB / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.234, allocations: 227.2 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.234, allocations: 8.188 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.234, allocations: 19.86 kB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.234, allocations: 12.28 kB / 0.9835 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.2342, allocations: 148.6 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007858/0.235, allocations: 1.127 MB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.371e-05/0.2351, allocations: 42.56 kB / 0.9847 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.2351, allocations: 16.94 kB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.2352, allocations: 8 kB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.2352, allocations: 30.56 kB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.2352, allocations: 3.938 kB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001654/0.2354, allocations: 73.58 kB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.2354, allocations: 55.34 kB / 0.9849 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2355, allocations: 168 kB / 0.9851 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.2355, allocations: 25.7 kB / 0.9851 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.2356, allocations: 147.3 kB / 0.9852 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/0.2356, allocations: 15.83 kB / 0.9853 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.2356, allocations: 4 kB / 0.9853 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.2356, allocations: 318.8 kB / 0.9856 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/0.2357, allocations: 19.98 kB / 0.9856 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.251e-05/0.2357, allocations: 93.36 kB / 0.9857 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.52e-05/0.2358, allocations: 117.3 kB / 0.9858 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2358, allocations: 4 kB / 0.9858 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001483/0.236, allocations: 137.5 kB / 0.9859 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/0.2361, allocations: 169.5 kB / 0.9861 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2361, allocations: 240 / 0.9861 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2361, allocations: 4 kB / 0.9861 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.2362, allocations: 27.92 kB / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2362, allocations: 4 kB / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/0.2363, allocations: 11.84 kB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.2363, allocations: 15.98 kB / 0.9861 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.009e-06/0.2363, allocations: 4 kB / 0.9861 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001134/0.2364, allocations: 99.7 kB / 0.9862 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.2364, allocations: 4 kB / 0.9862 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-06/0.2364, allocations: 0 / 0.9862 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.2365, allocations: 27.92 kB / 0.9863 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.2365, allocations: 4.312 kB / 0.9863 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.2366, allocations: 15.84 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/0.2366, allocations: 12 kB / 0.9863 GB, free: 19.91 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 7.36e-05/0.2367, allocations: 213 kB / 0.9865 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.2367, allocations: 7.906 kB / 0.9865 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.2367, allocations: 16.92 kB / 0.9865 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2367, allocations: 0 / 0.9865 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2367, allocations: 0 / 0.9865 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2368, allocations: 7.875 kB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.237, allocations: 469.2 kB / 0.987 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2371, allocations: 4 kB / 0.987 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.94e-05/0.2371, allocations: 7.938 kB / 0.987 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2371, allocations: 7.938 kB / 0.987 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.2371, allocations: 0 / 0.987 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2371, allocations: 0 / 0.987 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2371, allocations: 8.125 kB / 0.987 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.89e-05/0.2372, allocations: 107.5 kB / 0.9871 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.2373, allocations: 104.9 kB / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.2373, allocations: 0 / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.274e-05/0.2373, allocations: 0 / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.2373, allocations: 11.94 kB / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.2373, allocations: 0 / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.019e-05/0.2374, allocations: 132.9 kB / 0.9874 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.81e-07/0.2374, allocations: 0 / 0.9874 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002909/0.2377, allocations: 59.72 kB / 0.9874 GB, free: 18.66 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.842e-05/0.2378, allocations: 100.6 kB / 0.9875 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.238, allocations: 103.7 kB / 0.9876 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.238, allocations: 4 kB / 0.9876 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.041e-05/0.238, allocations: 11.98 kB / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.2383, allocations: 29.42 kB / 0.9876 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.2387, allocations: 324.7 kB / 0.988 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.2388, allocations: 0.7241 MB / 0.9887 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.271e-05/0.2389, allocations: 32.61 kB / 0.9887 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.2389, allocations: 11.44 kB / 0.9887 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2389, allocations: 0 / 0.9887 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.002586/0.2415, allocations: 0.7942 MB / 0.9895 GB, free: 16.47 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)