Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.745/1.745, allocations: 288.3 MB / 303.2 MB, free: 8.148 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.001128/0.001128, allocations: 183.5 kB / 371.9 MB, free: 10.3 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.915/1.915, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0009303/0.0009302, allocations: 99.77 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005176/0.0005176, allocations: 10.66 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3125, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005074/0.3176, allocations: 2.607 MB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003613/0.3213, allocations: 1.587 MB / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.3216, allocations: 0 / 0.9835 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.3218, allocations: 43.7 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007148/0.3226, allocations: 143.4 kB / 0.9837 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007424/0.3233, allocations: 139.7 kB / 0.9838 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005023/0.3239, allocations: 183.5 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.325, allocations: 493.7 kB / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.3253, allocations: 95.67 kB / 0.9846 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003961/0.3258, allocations: 103.6 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/0.3258, allocations: 8 kB / 0.9847 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004994/0.3263, allocations: 139.8 kB / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.3265, allocations: 83.8 kB / 0.9849 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.3266, allocations: 65.58 kB / 0.985 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006077/0.3272, allocations: 319.4 kB / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.3273, allocations: 0 / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3273, allocations: 0 / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.3273, allocations: 4 kB / 0.9853 GB, free: 21.67 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001289/0.3286, allocations: 0.495 MB / 0.9857 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.3287, allocations: 8.031 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.33, allocations: 103.6 kB / 0.9859 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.3305, allocations: 259.3 kB / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.3305, allocations: 12.44 kB / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.3307, allocations: 35.98 kB / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007942/0.3315, allocations: 361 kB / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.3315, allocations: 4 kB / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.101e-05/0.3316, allocations: 7.984 kB / 0.9865 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.3318, allocations: 40.3 kB / 0.9865 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007115/0.3325, allocations: 301.5 kB / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.3349, allocations: 1.533 MB / 0.9883 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.3355, allocations: 230.4 kB / 0.9885 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.3357, allocations: 93.09 kB / 0.9886 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.3357, allocations: 34.56 kB / 0.9887 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.344e-06/0.3357, allocations: 0 / 0.9887 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001746/0.3375, allocations: 0.7906 MB / 0.9894 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.3375, allocations: 51.41 kB / 0.9895 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.3378, allocations: 198.5 kB / 0.9897 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.3378, allocations: 33.7 kB / 0.9897 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.3379, allocations: 155.8 kB / 0.9899 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.338, allocations: 74.98 kB / 0.9899 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.3381, allocations: 4 kB / 0.9899 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.73e-05/0.3381, allocations: 326.8 kB / 0.9902 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.3384, allocations: 115.9 kB / 0.9904 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.3387, allocations: 170.9 kB / 0.9905 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.339, allocations: 132.6 kB / 0.9906 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.339, allocations: 0 / 0.9906 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001091/0.3401, allocations: 417.9 kB / 0.991 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3402, allocations: 11.89 kB / 0.9911 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3402, allocations: 7.984 kB / 0.9911 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/0.3408, allocations: 96.89 kB / 0.9912 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.3413, allocations: 55.89 kB / 0.9912 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.3435, allocations: 1.757 MB / 0.9929 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.3439, allocations: 20.02 kB / 0.9929 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.344, allocations: 12 kB / 0.993 GB, free: 13.24 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.3442, allocations: 158.3 kB / 0.9931 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.3444, allocations: 19.77 kB / 0.9931 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000739/0.3451, allocations: 297.8 kB / 0.9934 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.3451, allocations: 7.891 kB / 0.9934 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.3452, allocations: 0 / 0.9934 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.3452, allocations: 7.984 kB / 0.9934 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.3465, allocations: 0.7042 MB / 0.9941 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3465, allocations: 0 / 0.9941 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004701/0.347, allocations: 59.91 kB / 0.9942 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.347, allocations: 0 / 0.9942 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.3471, allocations: 8 kB / 0.9942 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.3471, allocations: 3.938 kB / 0.9942 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3471, allocations: 0 / 0.9942 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008611/0.348, allocations: 0.5319 MB / 0.9947 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.3481, allocations: 116.9 kB / 0.9948 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.3482, allocations: 4 kB / 0.9948 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.3485, allocations: 15.97 kB / 0.9948 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.3486, allocations: 11.98 kB / 0.9948 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.3486, allocations: 4 kB / 0.9948 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001858/0.3488, allocations: 152.1 kB / 0.995 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3488, allocations: 3.938 kB / 0.995 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005949/0.3494, allocations: 64 kB / 0.9951 GB, free: 10.96 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.0001919/0.3496, allocations: 111.2 kB / 0.9952 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009643/0.3506, allocations: 430.4 kB / 0.9956 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.3506, allocations: 7.938 kB / 0.9956 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.3509, allocations: 119.9 kB / 0.9957 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.3514, allocations: 25.86 kB / 0.9957 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.3533, allocations: 0.7578 MB / 0.9965 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.3536, allocations: 0.7869 MB / 0.9972 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003098/0.3539, allocations: 57.89 kB / 0.9973 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.354, allocations: 19.44 kB / 0.9973 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.3541, allocations: 0 / 0.9973 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of Templates: time 0.009208/0.3633, allocations: 2.567 MB / 0.9998 GB, free: 6.035 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)