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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 288.4 MB / 303.4 MB, free: 8.117 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.001116/0.001116, allocations: 182.9 kB / 372 MB, free: 10.29 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.733/1.733, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0007279/0.000728, allocations: 92.55 kB / 0.7441 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004877, allocations: 18.97 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2829, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.00334/0.2863, allocations: 2.248 MB / 0.9818 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.2886, allocations: 1.412 MB / 0.9832 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.2888, allocations: 7.938 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.2891, allocations: 27.78 kB / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005813/0.2897, allocations: 131.5 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.2901, allocations: 121.7 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003913/0.2905, allocations: 279.2 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006203/0.2912, allocations: 310.4 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.2913, allocations: 75.7 kB / 0.9841 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.2916, allocations: 107.6 kB / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.2916, allocations: 8 kB / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.2919, allocations: 131.8 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.292, allocations: 63.84 kB / 0.9844 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.292, allocations: 57.58 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.2923, allocations: 235.7 kB / 0.9847 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2923, allocations: 0 / 0.9847 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2923, allocations: 0 / 0.9847 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.2924, allocations: 0 / 0.9847 GB, free: 22.43 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.0006593/0.293, allocations: 455.1 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.2931, allocations: 16.02 kB / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006062/0.2937, allocations: 87.56 kB / 0.9852 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.294, allocations: 226.7 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.294, allocations: 12.33 kB / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.2941, allocations: 16 kB / 0.9854 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.2945, allocations: 319.8 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.2946, allocations: 3.938 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.2946, allocations: 8 kB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.2946, allocations: 20.27 kB / 0.9858 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.295, allocations: 252.6 kB / 0.986 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.2963, allocations: 1.634 MB / 0.9876 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/0.2968, allocations: 415.1 kB / 0.988 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.297, allocations: 89.66 kB / 0.9881 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.2971, allocations: 85.11 kB / 0.9882 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2971, allocations: 34.56 kB / 0.9882 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.2971, allocations: 0 / 0.9882 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.00058/0.2977, allocations: 308.9 kB / 0.9885 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.2978, allocations: 85.11 kB / 0.9886 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2979, allocations: 173.2 kB / 0.9887 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.2979, allocations: 29.7 kB / 0.9888 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.207e-05/0.298, allocations: 155.7 kB / 0.9889 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.298, allocations: 47.36 kB / 0.989 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.397e-06/0.2981, allocations: 0 / 0.989 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.223e-05/0.2981, allocations: 326.8 kB / 0.9893 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.2982, allocations: 75.95 kB / 0.9893 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.2984, allocations: 146.3 kB / 0.9895 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.2986, allocations: 112.1 kB / 0.9896 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2986, allocations: 0 / 0.9896 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003325/0.2989, allocations: 271.5 kB / 0.9898 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.53e-05/0.299, allocations: 157.7 kB / 0.99 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.299, allocations: 11.98 kB / 0.99 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.299, allocations: 4 kB / 0.99 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.2993, allocations: 55.91 kB / 0.9901 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2993, allocations: 4 kB / 0.9901 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.2994, allocations: 19.83 kB / 0.9901 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.2994, allocations: 15.98 kB / 0.9901 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.193e-06/0.2995, allocations: 9.875 kB / 0.9901 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002674/0.2997, allocations: 203.7 kB / 0.9903 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.2997, allocations: 4 kB / 0.9903 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.618e-06/0.2998, allocations: 7.953 kB / 0.9903 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.2999, allocations: 51.91 kB / 0.9904 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2999, allocations: 4 kB / 0.9904 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3, allocations: 16.3 kB / 0.9904 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.3001, allocations: 12 kB / 0.9904 GB, free: 16.06 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.0001374/0.3002, allocations: 225 kB / 0.9906 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.3003, allocations: 15.81 kB / 0.9906 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.3006, allocations: 207.6 kB / 0.9908 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.3006, allocations: 4 kB / 0.9908 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3006, allocations: 4 kB / 0.9908 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.3006, allocations: 0 / 0.9908 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.3018, allocations: 0.9574 MB / 0.9918 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3018, allocations: 4 kB / 0.9918 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.302, allocations: 35.91 kB / 0.9918 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.302, allocations: 8 kB / 0.9918 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.302, allocations: 8.438 kB / 0.9918 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.302, allocations: 8 kB / 0.9918 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.302, allocations: 7.938 kB / 0.9918 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.3024, allocations: 430.5 kB / 0.9922 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.3026, allocations: 112.8 kB / 0.9924 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.3027, allocations: 15.98 kB / 0.9924 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.3029, allocations: 15.98 kB / 0.9924 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.3029, allocations: 15.94 kB / 0.9924 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.303, allocations: 15.94 kB / 0.9924 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.398e-05/0.3031, allocations: 135.7 kB / 0.9925 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3031, allocations: 0 / 0.9925 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005363/0.3036, allocations: 80 kB / 0.9926 GB, free: 13.58 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.0002232/0.3038, allocations: 103.2 kB / 0.9927 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004691/0.3043, allocations: 296.4 kB / 0.993 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.3043, allocations: 384 / 0.993 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.3045, allocations: 83.77 kB / 0.9931 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.305, allocations: 33.05 kB / 0.9931 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009897/0.306, allocations: 0.5693 MB / 0.9937 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.3066, allocations: 0.748 MB / 0.9944 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002127/0.3068, allocations: 73.47 kB / 0.9945 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.3069, allocations: 19.42 kB / 0.9945 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of SimCode: time 1.9e-07/0.3069, allocations: 0 / 0.9945 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of Templates: time 0.005367/0.3122, allocations: 1.67 MB / 0.9961 GB, free: 9.938 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)