Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.361/2.361, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001402/0.001401, allocations: 181.7 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.755/2.755, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000863/0.0008627, allocations: 87.56 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006913/0.0006911, allocations: 12.69 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2247, allocations: 106.2 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003572/0.2283, allocations: 2.259 MB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002755/0.2311, allocations: 1.424 MB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.2313, allocations: 7.938 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.2315, allocations: 27.78 kB / 0.9027 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005438/0.2321, allocations: 131.5 kB / 0.9028 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.2326, allocations: 115.7 kB / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.233, allocations: 275.2 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007148/0.2337, allocations: 318.4 kB / 0.9035 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.2339, allocations: 75.7 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.2342, allocations: 107.6 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.2343, allocations: 8 kB / 0.9037 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003546/0.2346, allocations: 127.8 kB / 0.9038 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.248e-05/0.2347, allocations: 63.8 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/0.2348, allocations: 57.58 kB / 0.9039 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003502/0.2352, allocations: 235.7 kB / 0.9041 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2352, allocations: 8 kB / 0.9041 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2352, allocations: 0 / 0.9041 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.2352, allocations: 0 / 0.9041 GB, free: 60.13 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.0007544/0.236, allocations: 459.2 kB / 0.9046 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.236, allocations: 8.031 kB / 0.9046 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008506/0.2369, allocations: 80.64 kB / 0.9046 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.2372, allocations: 229.8 kB / 0.9049 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.2372, allocations: 20.67 kB / 0.9049 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.2373, allocations: 24.31 kB / 0.9049 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000603/0.2379, allocations: 323.9 kB / 0.9052 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.2379, allocations: 0 / 0.9052 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.238, allocations: 8 kB / 0.9052 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.193e-05/0.238, allocations: 24.27 kB / 0.9052 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005525/0.2386, allocations: 248.6 kB / 0.9055 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.2406, allocations: 1.63 MB / 0.9071 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009345/0.2415, allocations: 407.2 kB / 0.9075 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.2417, allocations: 89.66 kB / 0.9076 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.2419, allocations: 85.31 kB / 0.9076 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.2419, allocations: 50.44 kB / 0.9077 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.605e-06/0.2419, allocations: 0 / 0.9077 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0008576/0.2428, allocations: 304.5 kB / 0.908 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.2429, allocations: 81.09 kB / 0.908 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.2431, allocations: 168.2 kB / 0.9082 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.2431, allocations: 29.7 kB / 0.9082 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/0.2432, allocations: 152 kB / 0.9084 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.2432, allocations: 47.3 kB / 0.9084 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.2433, allocations: 4 kB / 0.9084 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.2433, allocations: 322.8 kB / 0.9087 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.2435, allocations: 83.94 kB / 0.9088 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.2437, allocations: 161.9 kB / 0.909 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.244, allocations: 87.97 kB / 0.9091 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.244, allocations: 4 kB / 0.9091 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000592/0.2446, allocations: 277.2 kB / 0.9093 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.834e-05/0.2447, allocations: 164.5 kB / 0.9095 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2447, allocations: 0 / 0.9095 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.2447, allocations: 8.188 kB / 0.9095 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/0.2452, allocations: 51.91 kB / 0.9095 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.2452, allocations: 11.92 kB / 0.9096 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.2455, allocations: 15.98 kB / 0.9096 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.2455, allocations: 8 kB / 0.9096 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.2455, allocations: 5.25 kB / 0.9096 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004462/0.246, allocations: 211.9 kB / 0.9098 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.246, allocations: 0 / 0.9098 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.341e-06/0.246, allocations: 4 kB / 0.9098 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.2463, allocations: 51.91 kB / 0.9098 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.2464, allocations: 11.86 kB / 0.9098 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.2465, allocations: 15.95 kB / 0.9099 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.2466, allocations: 15.97 kB / 0.9099 GB, free: 53.75 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.0001926/0.2468, allocations: 221 kB / 0.9101 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.309e-05/0.2469, allocations: 15.84 kB / 0.9101 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/0.2474, allocations: 203.8 kB / 0.9103 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.2474, allocations: 7.938 kB / 0.9103 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2474, allocations: 0 / 0.9103 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2474, allocations: 0 / 0.9103 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.2491, allocations: 0.9732 MB / 0.9113 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.2491, allocations: 0 / 0.9113 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.2494, allocations: 39.91 kB / 0.9113 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.2494, allocations: 4 kB / 0.9113 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.2495, allocations: 4 kB / 0.9113 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.2495, allocations: 7.938 kB / 0.9113 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.2495, allocations: 4 kB / 0.9113 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.2499, allocations: 440.9 kB / 0.9117 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.2501, allocations: 109 kB / 0.9118 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.2501, allocations: 8 kB / 0.9118 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.2504, allocations: 11.98 kB / 0.9119 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.2505, allocations: 27.86 kB / 0.9119 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.2505, allocations: 8 kB / 0.9119 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000133/0.2507, allocations: 135.7 kB / 0.912 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2507, allocations: 0 / 0.912 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006787/0.2514, allocations: 72 kB / 0.9121 GB, free: 51.29 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.0001612/0.2515, allocations: 111.1 kB / 0.9122 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007188/0.2523, allocations: 298.5 kB / 0.9125 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.2523, allocations: 3.938 kB / 0.9125 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.2525, allocations: 81.89 kB / 0.9126 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007026/0.2532, allocations: 43.16 kB / 0.9126 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.2543, allocations: 0.5644 MB / 0.9132 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.2546, allocations: 0.7518 MB / 0.9139 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003808/0.255, allocations: 81.47 kB / 0.914 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.36e-05/0.2551, allocations: 19.42 kB / 0.914 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of SimCode: time 1.132e-06/0.2552, allocations: 0 / 0.914 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of Templates: time 0.006092/0.2613, allocations: 1.669 MB / 0.9156 GB, free: 47.59 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)