Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Electrical.AC.OnePhase.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.367/1.367, 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.001101/0.001101, allocations: 180.3 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.0007681/0.0007684, allocations: 93.47 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003423, allocations: 10 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2343, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003049/0.2374, allocations: 2.661 MB / 0.9034 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.2395, allocations: 1.61 MB / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.2396, allocations: 7.938 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.2398, allocations: 39.7 kB / 0.905 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.2402, allocations: 163.3 kB / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.2406, allocations: 143.6 kB / 0.9053 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00028/0.2409, allocations: 370.9 kB / 0.9057 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007116/0.2416, allocations: 499.3 kB / 0.9062 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.2417, allocations: 107.5 kB / 0.9063 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.242, allocations: 147.5 kB / 0.9064 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.2421, allocations: 12 kB / 0.9064 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.2423, allocations: 139.8 kB / 0.9066 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.2424, allocations: 79.78 kB / 0.9066 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.2424, allocations: 65.58 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.2427, allocations: 323.5 kB / 0.907 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2427, allocations: 4 kB / 0.907 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2427, allocations: 3.938 kB / 0.907 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2428, allocations: 0 / 0.907 GB, free: 57.47 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.000779/0.2435, allocations: 0.5028 MB / 0.9075 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2436, allocations: 8.031 kB / 0.9075 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006589/0.2443, allocations: 95.56 kB / 0.9076 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.2445, allocations: 261.1 kB / 0.9079 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2446, allocations: 12.44 kB / 0.9079 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.592e-05/0.2447, allocations: 31.91 kB / 0.9079 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.2452, allocations: 365 kB / 0.9082 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.2452, allocations: 3.984 kB / 0.9082 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.2452, allocations: 19.94 kB / 0.9083 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.224e-05/0.2453, allocations: 28.42 kB / 0.9083 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003799/0.2457, allocations: 309.5 kB / 0.9086 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.2472, allocations: 1.522 MB / 0.9101 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.2476, allocations: 236.7 kB / 0.9103 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.2477, allocations: 116.8 kB / 0.9104 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.2478, allocations: 89.03 kB / 0.9105 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2479, allocations: 42.5 kB / 0.9105 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.2479, allocations: 0 / 0.9105 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001155/0.249, allocations: 0.7897 MB / 0.9113 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.2491, allocations: 51.41 kB / 0.9114 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.2493, allocations: 199.9 kB / 0.9115 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.2493, allocations: 25.7 kB / 0.9116 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.2494, allocations: 159.9 kB / 0.9117 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.2494, allocations: 74.94 kB / 0.9118 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.2494, allocations: 0 / 0.9118 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/0.2495, allocations: 330.8 kB / 0.9121 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.2496, allocations: 119.9 kB / 0.9122 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.2498, allocations: 170.2 kB / 0.9124 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.25, allocations: 132.5 kB / 0.9125 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.25, allocations: 8 kB / 0.9125 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006818/0.2507, allocations: 416 kB / 0.9129 GB, free: 51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.2507, allocations: 8 kB / 0.9129 GB, free: 51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2507, allocations: 0 / 0.9129 GB, free: 51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/0.2512, allocations: 100.9 kB / 0.913 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.2514, allocations: 51.91 kB / 0.9131 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.253, allocations: 1.738 MB / 0.9148 GB, free: 48.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.2532, allocations: 15.98 kB / 0.9148 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.2532, allocations: 12 kB / 0.9148 GB, free: 48.94 MB / 0.6042 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.0001358/0.2534, allocations: 157.8 kB / 0.9149 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.2534, allocations: 23.77 kB / 0.915 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004354/0.2538, allocations: 289.8 kB / 0.9152 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2539, allocations: 7.938 kB / 0.9153 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.2539, allocations: 0 / 0.9153 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2539, allocations: 7.984 kB / 0.9153 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007598/0.2546, allocations: 0.699 MB / 0.9159 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2547, allocations: 0 / 0.9159 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.255, allocations: 59.89 kB / 0.916 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.255, allocations: 7.938 kB / 0.916 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.255, allocations: 4 kB / 0.916 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.255, allocations: 4 kB / 0.916 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.255, allocations: 0 / 0.916 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.2555, allocations: 0.5151 MB / 0.9165 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-05/0.2556, allocations: 120.9 kB / 0.9166 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.2557, allocations: 8 kB / 0.9166 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.2559, allocations: 7.984 kB / 0.9166 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.2559, allocations: 19.97 kB / 0.9167 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.2559, allocations: 8.062 kB / 0.9167 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001092/0.256, allocations: 144 kB / 0.9168 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.256, allocations: 0 / 0.9168 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003444/0.2564, allocations: 68 kB / 0.9169 GB, free: 46.7 MB / 0.6042 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.0001715/0.2566, allocations: 107.2 kB / 0.917 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006531/0.2572, allocations: 422.6 kB / 0.9174 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2572, allocations: 0 / 0.9174 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.2574, allocations: 123.8 kB / 0.9175 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.2578, allocations: 33.44 kB / 0.9175 GB, free: 46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.2589, allocations: 0.8051 MB / 0.9183 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.2591, allocations: 0.7791 MB / 0.9191 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.2592, allocations: 19.44 kB / 0.9191 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2592, allocations: 0 / 0.9191 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.004804/0.264, allocations: 3.577 MB / 0.9226 GB, free: 40.76 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)