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 2.748/2.748, allocations: 287.3 MB / 302.3 MB, free: 8.281 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.001587/0.001587, allocations: 190.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.374/2.374, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001096/0.001096, allocations: 103.2 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006483/0.0006486, allocations: 9.781 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2129, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003269/0.2163, allocations: 2.115 MB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.2179, allocations: 0.7094 MB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.2181, allocations: 7.938 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.2183, allocations: 19.84 kB / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.2187, allocations: 67.81 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.2192, allocations: 87.75 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.2194, allocations: 107.8 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.2198, allocations: 163.2 kB / 0.9814 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.534e-05/0.2199, allocations: 59.77 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.2201, allocations: 55.81 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.2201, allocations: 4 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.2203, allocations: 55.91 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.2204, allocations: 43.84 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.2205, allocations: 49.64 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.2207, allocations: 163.8 kB / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.2208, allocations: 0 / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2208, allocations: 4 kB / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.2208, allocations: 3.938 kB / 0.9818 GB, free: 24.64 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.0006429/0.2214, allocations: 427.1 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.2215, allocations: 12.03 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005618/0.2221, allocations: 47.77 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.2224, allocations: 210.9 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.2224, allocations: 16.25 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.2225, allocations: 12 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/0.223, allocations: 222.8 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.223, allocations: 7.938 kB / 0.9827 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.2231, allocations: 4 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/0.2231, allocations: 16.27 kB / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.2235, allocations: 144.7 kB / 0.9829 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.2248, allocations: 1.127 MB / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.2249, allocations: 42.56 kB / 0.984 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2249, allocations: 3.953 kB / 0.984 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.225, allocations: 38.56 kB / 0.984 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.355e-06/0.225, allocations: 0 / 0.984 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002563/0.2252, allocations: 81.61 kB / 0.9841 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.2253, allocations: 55.34 kB / 0.9842 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.2255, allocations: 175.9 kB / 0.9843 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.2255, allocations: 25.7 kB / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.2256, allocations: 143.4 kB / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.2256, allocations: 15.75 kB / 0.9845 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-06/0.2256, allocations: 8 kB / 0.9845 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.667e-05/0.2257, allocations: 322.8 kB / 0.9848 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.353e-05/0.2258, allocations: 15.98 kB / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.2259, allocations: 82.56 kB / 0.9849 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.014e-05/0.226, allocations: 43.92 kB / 0.985 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.226, allocations: 0 / 0.985 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002528/0.2262, allocations: 137.3 kB / 0.9851 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002088/0.2265, allocations: 0.9698 MB / 0.9861 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.2265, allocations: 0 / 0.9861 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.2265, allocations: 4 kB / 0.9861 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.2267, allocations: 27.92 kB / 0.9861 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.2267, allocations: 8 kB / 0.9861 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.2269, allocations: 11.84 kB / 0.9861 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.2269, allocations: 8 kB / 0.9861 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.2269, allocations: 4 kB / 0.9861 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001962/0.2271, allocations: 103.6 kB / 0.9862 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2271, allocations: 4.312 kB / 0.9862 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/0.2272, allocations: 4.281 kB / 0.9862 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.2273, allocations: 27.92 kB / 0.9862 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2273, allocations: 4 kB / 0.9863 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.346e-05/0.2274, allocations: 11.84 kB / 0.9863 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.2274, allocations: 12 kB / 0.9863 GB, free: 19.64 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 0.0001289/0.2276, allocations: 215.1 kB / 0.9865 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.2276, allocations: 11.89 kB / 0.9865 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.2277, allocations: 16.92 kB / 0.9865 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2277, allocations: 4 kB / 0.9865 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2277, allocations: 0 / 0.9865 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2277, allocations: 0 / 0.9865 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000484/0.2282, allocations: 477 kB / 0.987 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2282, allocations: 0 / 0.987 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.507e-05/0.2283, allocations: 7.938 kB / 0.987 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.2283, allocations: 8.125 kB / 0.987 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.2283, allocations: 0 / 0.987 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2283, allocations: 0 / 0.987 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2284, allocations: 7.953 kB / 0.987 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.2285, allocations: 148.7 kB / 0.9871 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-05/0.2286, allocations: 92.91 kB / 0.9872 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.2286, allocations: 4 kB / 0.9872 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.051e-05/0.2287, allocations: 4 kB / 0.9872 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.2287, allocations: 3.938 kB / 0.9872 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2287, allocations: 8 kB / 0.9872 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001064/0.2288, allocations: 124.9 kB / 0.9874 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2289, allocations: 4 kB / 0.9874 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005092/0.2294, allocations: 51.84 kB / 0.9874 GB, free: 18.33 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 0.0001067/0.2295, allocations: 107.2 kB / 0.9875 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.2298, allocations: 104.9 kB / 0.9876 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2298, allocations: 4.062 kB / 0.9876 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.2299, allocations: 12 kB / 0.9876 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.2302, allocations: 23.94 kB / 0.9877 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005755/0.2308, allocations: 321 kB / 0.988 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.231, allocations: 0.7241 MB / 0.9887 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001468/0.2311, allocations: 32.61 kB / 0.9887 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.2312, allocations: 11.44 kB / 0.9887 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of SimCode: time 7.82e-07/0.2312, allocations: 7.875 kB / 0.9887 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.003935/0.2351, allocations: 0.7815 MB / 0.9895 GB, free: 16.15 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)