Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.42/1.42, allocations: 252 MB / 267.6 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 178.1 kB / 327.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.172/2.172, allocations: 205.4 MB / 0.5783 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007893/0.0007893, allocations: 90.36 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003073, allocations: 11.69 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1925, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002541/0.1951, allocations: 2.257 MB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.1969, allocations: 1.427 MB / 0.9044 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.542e-05/0.197, allocations: 3.938 kB / 0.9044 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.1972, allocations: 27.78 kB / 0.9045 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.1976, allocations: 131.5 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1979, allocations: 123.7 kB / 0.9047 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.1982, allocations: 271.2 kB / 0.905 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005041/0.1987, allocations: 302.5 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.1988, allocations: 79.69 kB / 0.9053 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.199, allocations: 107.6 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.1991, allocations: 8 kB / 0.9054 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.1993, allocations: 131.7 kB / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.1993, allocations: 59.88 kB / 0.9056 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.1994, allocations: 57.58 kB / 0.9057 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1996, allocations: 239.7 kB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1996, allocations: 0 / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.041e-06/0.1996, allocations: 0 / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1996, allocations: 0 / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005743/0.2002, allocations: 463 kB / 0.9063 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2003, allocations: 8.031 kB / 0.9064 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005418/0.2008, allocations: 83.67 kB / 0.9064 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.201, allocations: 230.7 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.2011, allocations: 8.328 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.2011, allocations: 27.92 kB / 0.9067 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.2015, allocations: 323.8 kB / 0.907 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.2015, allocations: 3.938 kB / 0.907 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.2016, allocations: 8 kB / 0.907 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/0.2016, allocations: 16.27 kB / 0.907 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.2019, allocations: 256.5 kB / 0.9073 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.2032, allocations: 1.63 MB / 0.9089 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.2037, allocations: 407.2 kB / 0.9093 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.2038, allocations: 93.67 kB / 0.9093 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.2039, allocations: 85.09 kB / 0.9094 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.2039, allocations: 34.78 kB / 0.9095 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.204, allocations: 3.938 kB / 0.9095 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0005553/0.2045, allocations: 300.6 kB / 0.9097 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.2046, allocations: 81.23 kB / 0.9098 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2047, allocations: 174.1 kB / 0.91 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.2047, allocations: 29.7 kB / 0.91 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.2048, allocations: 151.8 kB / 0.9102 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.2048, allocations: 55.27 kB / 0.9102 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.2048, allocations: 192 / 0.9102 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.2049, allocations: 326.8 kB / 0.9105 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/0.205, allocations: 79.89 kB / 0.9106 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.2051, allocations: 154 kB / 0.9107 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.2052, allocations: 103.9 kB / 0.9108 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2052, allocations: 0 / 0.9108 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003095/0.2056, allocations: 276.1 kB / 0.9111 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.229e-05/0.2056, allocations: 164.5 kB / 0.9113 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.2056, allocations: 4 kB / 0.9113 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2057, allocations: 4 kB / 0.9113 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.2059, allocations: 55.89 kB / 0.9113 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.2059, allocations: 4 kB / 0.9113 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.2061, allocations: 11.98 kB / 0.9113 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.2061, allocations: 12 kB / 0.9114 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.6e-06/0.2061, allocations: 4 kB / 0.9114 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002418/0.2064, allocations: 211.6 kB / 0.9116 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-06/0.2064, allocations: 0 / 0.9116 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/0.2064, allocations: 8 kB / 0.9116 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.2065, allocations: 55.89 kB / 0.9116 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.2066, allocations: 4 kB / 0.9116 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.573e-05/0.2067, allocations: 15.89 kB / 0.9116 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.2067, allocations: 12.31 kB / 0.9117 GB, free: 52.29 MB / 0.6042 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.2068, allocations: 229 kB / 0.9119 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.2068, allocations: 19.89 kB / 0.9119 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.2071, allocations: 207.6 kB / 0.9121 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2071, allocations: 0 / 0.9121 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2072, allocations: 0 / 0.9121 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.2072, allocations: 3.984 kB / 0.9121 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008911/0.2081, allocations: 0.9651 MB / 0.913 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2081, allocations: 4 kB / 0.913 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.2082, allocations: 35.91 kB / 0.9131 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.2082, allocations: 4 kB / 0.9131 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.2082, allocations: 8 kB / 0.9131 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2082, allocations: 4 kB / 0.9131 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2083, allocations: 8.375 kB / 0.9131 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.2085, allocations: 436.8 kB / 0.9135 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.2086, allocations: 113 kB / 0.9136 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.2086, allocations: 4 kB / 0.9136 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.2088, allocations: 19.98 kB / 0.9136 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.2088, allocations: 15.94 kB / 0.9137 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.2089, allocations: 8 kB / 0.9137 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.729e-05/0.2089, allocations: 139.7 kB / 0.9138 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2089, allocations: 0 / 0.9138 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004241/0.2094, allocations: 72 kB / 0.9139 GB, free: 49.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (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 Backend phase and start with SimCode phase: time 0.0001223/0.2095, allocations: 115.1 kB / 0.914 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003514/0.2099, allocations: 301.3 kB / 0.9143 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2099, allocations: 0 / 0.9143 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.879e-05/0.21, allocations: 88.06 kB / 0.9143 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.2104, allocations: 27.98 kB / 0.9144 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006666/0.2111, allocations: 0.6018 MB / 0.915 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.2113, allocations: 0.7518 MB / 0.9157 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.2114, allocations: 19.44 kB / 0.9157 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.2114, allocations: 0 / 0.9157 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.003391/0.2148, allocations: 2.342 MB / 0.918 GB, free: 45.49 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)