Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.632/1.632, allocations: 288.4 MB / 303.3 MB, free: 8.191 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.001125/0.001125, allocations: 183 kB / 372 MB, free: 10.28 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.588/1.588, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0008197/0.0008197, allocations: 92.88 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006053/0.0006055, allocations: 14.97 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2659, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002968/0.2689, allocations: 2.244 MB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.2711, allocations: 1.416 MB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.2713, allocations: 7.938 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.2715, allocations: 19.8 kB / 0.9833 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005185/0.272, allocations: 147.4 kB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.2724, allocations: 112.5 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.2728, allocations: 279.2 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005856/0.2733, allocations: 302.7 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.2736, allocations: 75.7 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.2739, allocations: 111.6 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.2739, allocations: 8 kB / 0.9842 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003246/0.2742, allocations: 127.8 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.057e-05/0.2743, allocations: 59.86 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.528e-05/0.2744, allocations: 57.58 kB / 0.9845 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.2747, allocations: 239.4 kB / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2748, allocations: 0 / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2748, allocations: 0 / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.2748, allocations: 4 kB / 0.9847 GB, free: 22.32 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005476/0.2753, allocations: 462.9 kB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.2754, allocations: 12.03 kB / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.165e-05/0.2755, allocations: 50.55 kB / 0.9852 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005859/0.276, allocations: 87.64 kB / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.2763, allocations: 228.8 kB / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2763, allocations: 12.33 kB / 0.9855 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.2764, allocations: 15.98 kB / 0.9855 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004422/0.2768, allocations: 327.8 kB / 0.9859 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.2769, allocations: 0 / 0.9859 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.2769, allocations: 11.98 kB / 0.9859 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.82e-05/0.2769, allocations: 20.28 kB / 0.9859 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.2773, allocations: 248.6 kB / 0.9861 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.2786, allocations: 1.634 MB / 0.9877 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.2791, allocations: 415.2 kB / 0.9881 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.2793, allocations: 85.66 kB / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.2794, allocations: 85.11 kB / 0.9883 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.2794, allocations: 38.55 kB / 0.9883 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.2794, allocations: 3.938 kB / 0.9883 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0006087/0.2801, allocations: 300.8 kB / 0.9886 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.2801, allocations: 85.17 kB / 0.9887 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.2802, allocations: 173.1 kB / 0.9889 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.2803, allocations: 29.7 kB / 0.9889 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.2803, allocations: 151.8 kB / 0.989 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.2804, allocations: 47.36 kB / 0.9891 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/0.2804, allocations: 4 kB / 0.9891 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.706e-05/0.2804, allocations: 322.8 kB / 0.9894 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.2806, allocations: 75.95 kB / 0.9895 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.2807, allocations: 150.6 kB / 0.9896 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.2809, allocations: 104 kB / 0.9897 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2809, allocations: 3.953 kB / 0.9897 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003365/0.2812, allocations: 265.6 kB / 0.99 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.406e-05/0.2813, allocations: 167.6 kB / 0.9901 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2813, allocations: 4 kB / 0.9901 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2813, allocations: 4 kB / 0.9901 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.2816, allocations: 51.91 kB / 0.9902 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.2816, allocations: 4 kB / 0.9902 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.2817, allocations: 27.81 kB / 0.9902 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.2818, allocations: 8 kB / 0.9902 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.984e-06/0.2818, allocations: 8 kB / 0.9902 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002606/0.2821, allocations: 203.7 kB / 0.9904 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2821, allocations: 7.953 kB / 0.9904 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.2821, allocations: 4 kB / 0.9904 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.2822, allocations: 47.91 kB / 0.9905 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2823, allocations: 12.41 kB / 0.9905 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.2824, allocations: 19.98 kB / 0.9905 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.2824, allocations: 12.03 kB / 0.9905 GB, free: 15.89 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 (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.0001401/0.2825, allocations: 221.1 kB / 0.9907 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.2826, allocations: 19.8 kB / 0.9907 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.2829, allocations: 207.6 kB / 0.9909 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.2829, allocations: 4 kB / 0.9909 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.283, allocations: 4 kB / 0.9909 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.283, allocations: 192 / 0.9909 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009544/0.2839, allocations: 0.9612 MB / 0.9919 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.2839, allocations: 7.938 kB / 0.9919 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.2841, allocations: 35.91 kB / 0.9919 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.2841, allocations: 8 kB / 0.9919 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.2841, allocations: 8.438 kB / 0.9919 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.2841, allocations: 11.94 kB / 0.992 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2841, allocations: 4 kB / 0.992 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.2845, allocations: 432.9 kB / 0.9924 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.2845, allocations: 112.8 kB / 0.9925 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.2846, allocations: 11.98 kB / 0.9925 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.2848, allocations: 11.98 kB / 0.9925 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.2848, allocations: 27.81 kB / 0.9925 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.2848, allocations: 8 kB / 0.9925 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.75e-05/0.2849, allocations: 131.8 kB / 0.9927 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2849, allocations: 0 / 0.9927 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004446/0.2854, allocations: 79.98 kB / 0.9927 GB, free: 13.41 MB / 0.6198 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.0005054/0.2859, allocations: 0.9728 MB / 0.9937 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003907/0.2863, allocations: 293.4 kB / 0.994 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2863, allocations: 1.25 kB / 0.994 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.293e-05/0.2864, allocations: 84.27 kB / 0.994 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.2869, allocations: 32.72 kB / 0.9941 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.2884, allocations: 1.225 MB / 0.9953 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.2887, allocations: 0.7441 MB / 0.996 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000209/0.2889, allocations: 77.47 kB / 0.9961 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/0.289, allocations: 47.42 kB / 0.9961 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.289, allocations: 4 kB / 0.9961 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.3047, allocations: 3.361 MB / 0.9994 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.3049, allocations: 232.8 kB / 0.9996 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.036, allocations: 0 / 0.9996 GB, free: 6.348 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)