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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.445/1.445, allocations: 252 MB / 267.3 MB, free: 10.84 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.001115/0.001115, allocations: 178.4 kB / 327 MB, free: 2.121 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.124/2.124, allocations: 205.4 MB / 0.578 GB, free: 20.19 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.0008564/0.0008561, allocations: 85.78 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005915/0.000592, allocations: 14.64 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2745, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002614/0.2771, allocations: 2.325 MB / 0.9032 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.2791, allocations: 1.52 MB / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.2793, allocations: 0 / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.2795, allocations: 23.8 kB / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005413/0.28, allocations: 175.4 kB / 0.9049 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.2805, allocations: 139.7 kB / 0.905 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.2808, allocations: 343.1 kB / 0.9053 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006268/0.2815, allocations: 338.8 kB / 0.9057 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.2816, allocations: 79.69 kB / 0.9057 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.2819, allocations: 107.6 kB / 0.9058 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.2819, allocations: 4 kB / 0.9058 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000353/0.2823, allocations: 271.5 kB / 0.9061 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.482e-05/0.2823, allocations: 67.8 kB / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.169e-05/0.2824, allocations: 101.2 kB / 0.9063 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.2828, allocations: 331.1 kB / 0.9066 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.2828, allocations: 4 kB / 0.9066 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.033e-06/0.2828, allocations: 0 / 0.9066 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.2829, allocations: 4 kB / 0.9066 GB, free: 57.54 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.0006975/0.2836, allocations: 455.2 kB / 0.907 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.2836, allocations: 12.03 kB / 0.907 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.2837, allocations: 46.73 kB / 0.9071 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006071/0.2843, allocations: 76.66 kB / 0.9071 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.2846, allocations: 240 kB / 0.9074 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.2846, allocations: 12.7 kB / 0.9074 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.2847, allocations: 20.31 kB / 0.9074 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.2852, allocations: 324.1 kB / 0.9077 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.2852, allocations: 7.938 kB / 0.9077 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.2852, allocations: 8 kB / 0.9077 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.2853, allocations: 24.27 kB / 0.9077 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.2856, allocations: 256.5 kB / 0.908 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.2873, allocations: 1.626 MB / 0.9096 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/0.2879, allocations: 411.2 kB / 0.91 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.288, allocations: 81.67 kB / 0.9101 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.2882, allocations: 89.09 kB / 0.9101 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.2882, allocations: 42.78 kB / 0.9102 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.2882, allocations: 3.938 kB / 0.9102 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0007028/0.2889, allocations: 304.5 kB / 0.9105 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.289, allocations: 77.11 kB / 0.9105 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.2891, allocations: 186 kB / 0.9107 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.2892, allocations: 29.89 kB / 0.9108 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.2892, allocations: 143.9 kB / 0.9109 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.2893, allocations: 55.28 kB / 0.9109 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.2893, allocations: 4 kB / 0.9109 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.2894, allocations: 322.8 kB / 0.9113 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.92e-05/0.2895, allocations: 75.95 kB / 0.9113 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.2896, allocations: 158 kB / 0.9115 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.2899, allocations: 250.4 kB / 0.9117 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2899, allocations: 0 / 0.9117 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003289/0.2902, allocations: 276.2 kB / 0.912 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.884e-05/0.2903, allocations: 157.8 kB / 0.9121 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.2903, allocations: 4 kB / 0.9121 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.2904, allocations: 4 kB / 0.9121 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.2906, allocations: 59.89 kB / 0.9122 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2906, allocations: 0 / 0.9122 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.2908, allocations: 23.89 kB / 0.9122 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.2908, allocations: 15.98 kB / 0.9122 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.791e-06/0.2908, allocations: 4 kB / 0.9122 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002466/0.291, allocations: 203.7 kB / 0.9124 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.2911, allocations: 4 kB / 0.9124 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.347e-06/0.2911, allocations: 4.312 kB / 0.9124 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.2912, allocations: 55.91 kB / 0.9125 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.2912, allocations: 7.938 kB / 0.9125 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.2913, allocations: 19.92 kB / 0.9125 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.2914, allocations: 8 kB / 0.9125 GB, free: 50.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.2915, allocations: 225 kB / 0.9127 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.2915, allocations: 16 kB / 0.9128 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.2918, allocations: 203.7 kB / 0.9129 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.2919, allocations: 11.88 kB / 0.913 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2919, allocations: 0 / 0.913 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2919, allocations: 0 / 0.913 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009399/0.2928, allocations: 0.9651 MB / 0.9139 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2928, allocations: 4.047 kB / 0.9139 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.293, allocations: 36.34 kB / 0.9139 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.293, allocations: 8 kB / 0.9139 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.293, allocations: 11.98 kB / 0.914 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.293, allocations: 4 kB / 0.914 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.293, allocations: 11.94 kB / 0.914 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.2933, allocations: 436.8 kB / 0.9144 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.2934, allocations: 104.9 kB / 0.9145 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.2934, allocations: 11.98 kB / 0.9145 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.2936, allocations: 15.98 kB / 0.9145 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.2936, allocations: 11.92 kB / 0.9145 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.2936, allocations: 12 kB / 0.9145 GB, free: 48.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.995e-05/0.2937, allocations: 143.7 kB / 0.9147 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2937, allocations: 0 / 0.9147 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004325/0.2942, allocations: 68 kB / 0.9147 GB, free: 48.45 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004458/0.2946, allocations: 0.978 MB / 0.9157 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.295, allocations: 296.4 kB / 0.916 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.295, allocations: 384 / 0.916 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.641e-05/0.2951, allocations: 91.7 kB / 0.9161 GB, free: 47.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.2956, allocations: 34.02 kB / 0.9161 GB, free: 47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.2975, allocations: 2.5 MB / 0.9185 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.2976, allocations: 0.7441 MB / 0.9193 GB, free: 43.51 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001873/0.2978, allocations: 81.41 kB / 0.9193 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.362e-05/0.2979, allocations: 51.41 kB / 0.9194 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2979, allocations: 0 / 0.9194 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01181/0.3097, allocations: 3.335 MB / 0.9227 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/0.3099, allocations: 239.3 kB / 0.9229 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.055, allocations: 2.75 kB / 0.9229 GB, free: 40.02 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)