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.737/1.737, allocations: 288.2 MB / 303.2 MB, free: 8.234 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.001653/0.001653, allocations: 181 kB / 371.8 MB, free: 10.27 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.683/1.683, allocations: 205.4 MB / 0.6305 GB, free: 9.98 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.000927/0.000927, allocations: 108.1 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004476, allocations: 11.31 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2513, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.0024/0.2537, allocations: 2.221 MB / 0.9816 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.2554, allocations: 1.4 MB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.2555, allocations: 11.88 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.2556, allocations: 23.84 kB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.256, allocations: 119.6 kB / 0.9832 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.2563, allocations: 119.7 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.2564, allocations: 123.8 kB / 0.9834 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004702/0.2569, allocations: 306.7 kB / 0.9837 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.769e-05/0.257, allocations: 59.83 kB / 0.9837 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.2572, allocations: 75.67 kB / 0.9838 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.2572, allocations: 8 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.2574, allocations: 123.8 kB / 0.9839 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.2575, allocations: 59.81 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.2575, allocations: 57.64 kB / 0.9841 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.2577, allocations: 239.4 kB / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2577, allocations: 0 / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2577, allocations: 3.938 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.2578, allocations: 0 / 0.9843 GB, free: 22.61 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.0005441/0.2583, allocations: 459 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2583, allocations: 12.03 kB / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/0.2584, allocations: 50.55 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005459/0.259, allocations: 99.59 kB / 0.9849 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.2592, allocations: 230.7 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.2592, allocations: 12.33 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.2593, allocations: 16 kB / 0.9851 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.2597, allocations: 323.8 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.2597, allocations: 3.938 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.2597, allocations: 8 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.631e-05/0.2598, allocations: 24.27 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.2601, allocations: 248.6 kB / 0.9857 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.2613, allocations: 1.626 MB / 0.9873 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/0.2618, allocations: 411.2 kB / 0.9877 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.2619, allocations: 89.11 kB / 0.9878 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.2619, allocations: 30.78 kB / 0.9878 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2619, allocations: 3.938 kB / 0.9878 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0005288/0.2625, allocations: 304.5 kB / 0.9881 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.2625, allocations: 81.3 kB / 0.9882 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.2626, allocations: 173.1 kB / 0.9883 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2626, allocations: 41.83 kB / 0.9884 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.2627, allocations: 147.8 kB / 0.9885 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.2627, allocations: 47.34 kB / 0.9886 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-06/0.2627, allocations: 4 kB / 0.9886 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.804e-05/0.2628, allocations: 322.8 kB / 0.9889 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.085e-05/0.2629, allocations: 71.95 kB / 0.9889 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.263, allocations: 158.6 kB / 0.9891 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.2632, allocations: 101.6 kB / 0.9892 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2632, allocations: 4 kB / 0.9892 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003046/0.2635, allocations: 269.3 kB / 0.9895 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002043/0.2637, allocations: 0.9619 MB / 0.9904 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2637, allocations: 8 kB / 0.9904 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.2637, allocations: 4 kB / 0.9904 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.2639, allocations: 51.91 kB / 0.9905 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.264, allocations: 7.984 kB / 0.9905 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.2641, allocations: 23.83 kB / 0.9905 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.2641, allocations: 12 kB / 0.9905 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.911e-06/0.2641, allocations: 4 kB / 0.9905 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002389/0.2644, allocations: 205.1 kB / 0.9907 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.2644, allocations: 4 kB / 0.9907 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-06/0.2644, allocations: 4 kB / 0.9907 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.2646, allocations: 47.91 kB / 0.9907 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2646, allocations: 7.984 kB / 0.9908 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.561e-05/0.2647, allocations: 15.95 kB / 0.9908 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.2647, allocations: 12 kB / 0.9908 GB, free: 15.43 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.0001051/0.2648, allocations: 221.2 kB / 0.991 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.2649, allocations: 19.81 kB / 0.991 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.2651, allocations: 207.7 kB / 0.9912 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2652, allocations: 4 kB / 0.9912 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2652, allocations: 0 / 0.9912 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2652, allocations: 7.984 kB / 0.9912 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.2663, allocations: 0.9692 MB / 0.9922 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2663, allocations: 4 kB / 0.9922 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.2664, allocations: 35.91 kB / 0.9922 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2664, allocations: 8 kB / 0.9922 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.2664, allocations: 4 kB / 0.9922 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.2665, allocations: 4 kB / 0.9922 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2665, allocations: 4 kB / 0.9922 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.2668, allocations: 0.5813 MB / 0.9928 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.853e-05/0.2669, allocations: 112.8 kB / 0.9929 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.2669, allocations: 12 kB / 0.9929 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.2671, allocations: 15.98 kB / 0.9929 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.2671, allocations: 19.88 kB / 0.9929 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.2671, allocations: 8 kB / 0.993 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.353e-05/0.2672, allocations: 135.7 kB / 0.9931 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2672, allocations: 0 / 0.9931 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004863/0.2677, allocations: 72 kB / 0.9932 GB, free: 12.73 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.0006271/0.2684, allocations: 2.021 MB / 0.9951 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003628/0.2687, allocations: 297.6 kB / 0.9954 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2688, allocations: 0 / 0.9954 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.638e-05/0.2688, allocations: 88.14 kB / 0.9955 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.2692, allocations: 24.53 kB / 0.9955 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.2708, allocations: 2.745 MB / 0.9982 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.271, allocations: 0.744 MB / 0.9989 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001897/0.2712, allocations: 73.62 kB / 0.999 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/0.2713, allocations: 55.41 kB / 0.999 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.2713, allocations: 4 kB / 0.9991 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.2858, allocations: 3.343 MB / 1.002 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.286, allocations: 231.9 kB / 1.003 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.104, allocations: 2.578 kB / 1.003 GB, free: 3.051 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)