Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",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.367/1.367, allocations: 252 MB / 267.3 MB, free: 10.81 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.001094/0.001094, allocations: 175.1 kB / 327 MB, free: 2.066 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0009832/0.0009831, allocations: 88.83 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003733, allocations: 12 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2568, allocations: 106.3 MB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01645/0.2733, allocations: 16.5 MB / 0.917 GB, free: 46.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009972/0.2833, allocations: 5.862 MB / 0.9228 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/0.2855, allocations: 43.88 kB / 0.9228 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.2869, allocations: 321.7 kB / 0.9231 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003115/0.2901, allocations: 0.7902 MB / 0.9239 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.2932, allocations: 0.8793 MB / 0.9247 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005967/0.2992, allocations: 6.491 MB / 0.9311 GB, free: 32.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.3104, allocations: 7.934 MB / 0.9388 GB, free: 24.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.3131, allocations: 1.331 MB / 0.9401 GB, free: 22.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003185/0.3163, allocations: 1.931 MB / 0.942 GB, free: 20.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0009572/0.3173, allocations: 188 kB / 0.9422 GB, free: 20.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.3195, allocations: 0.7176 MB / 0.9429 GB, free: 20.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.002132/0.3216, allocations: 1.388 MB / 0.9442 GB, free: 18.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.002982/0.3246, allocations: 1.409 MB / 0.9456 GB, free: 17.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006867/0.3315, allocations: 6.055 MB / 0.9515 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.088e-05/0.3316, allocations: 4 kB / 0.9515 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.268e-06/0.3316, allocations: 0 / 0.9515 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002621/0.3319, allocations: 0 / 0.9515 GB, free: 11.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: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.007106/0.339, allocations: 2.471 MB / 0.9539 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.3391, allocations: 12.03 kB / 0.954 GB, free: 8.586 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001316/0.3404, allocations: 466.7 kB / 0.9544 GB, free: 8.117 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005203/0.3456, allocations: 1.141 MB / 0.9555 GB, free: 6.973 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003527/0.3492, allocations: 1.604 MB / 0.9571 GB, free: 5.324 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.3493, allocations: 226.3 kB / 0.9573 GB, free: 5.102 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007362/0.3501, allocations: 288.4 kB / 0.9576 GB, free: 4.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.3602, allocations: 5.304 MB / 0.9628 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.724e-05/0.3603, allocations: 15.91 kB / 0.9628 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003732/0.3607, allocations: 124 kB / 0.9629 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002676/0.3609, allocations: 201.1 kB / 0.9631 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009753/0.3707, allocations: 4.776 MB / 0.9677 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0342/0.405, allocations: 23.21 MB / 0.9904 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005013/0.41, allocations: 3.192 MB / 0.9935 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.4114, allocations: 0.9095 MB / 0.9944 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.4117, allocations: 101.7 kB / 0.9945 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.4117, allocations: 51.16 kB / 0.9946 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=82): time 3.757e-06/0.4118, allocations: 0 / 0.9946 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82): time 0.003665/0.4154, allocations: 2.09 MB / 0.9966 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.4156, allocations: 222.2 kB / 0.9968 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.4176, allocations: 1.106 MB / 0.9979 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.4177, allocations: 37.7 kB / 0.9979 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.4188, allocations: 1.289 MB / 0.9992 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003528/0.4192, allocations: 291.9 kB / 0.9995 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.4193, allocations: 36 kB / 0.9995 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002382/0.4195, allocations: 402.7 kB / 0.9999 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.421, allocations: 0.89 MB / 1.001 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.423, allocations: 1.519 MB / 1.002 GB, free: 4.023 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003275/0.4263, allocations: 2.366 MB / 1.005 GB, free: 1.395 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.989e-05/0.4263, allocations: 4 kB / 1.005 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004476/0.4308, allocations: 2.5 MB / 1.007 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005947/0.4314, allocations: 0.6463 MB / 1.008 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.521e-05/0.4315, allocations: 20 kB / 1.008 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.264e-05/0.4316, allocations: 31.94 kB / 1.008 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.4333, allocations: 463.2 kB / 1.008 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.799e-05/0.4334, allocations: 39.86 kB / 1.008 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.4353, allocations: 345.8 kB / 1.008 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/0.4355, allocations: 83.97 kB / 1.009 GB, free: 13 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4355, allocations: 4 kB / 1.009 GB, free: 13 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00379/0.4393, allocations: 2.229 MB / 1.011 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.207e-05/0.4395, allocations: 16 kB / 1.011 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.653e-05/0.4395, allocations: 28 kB / 1.011 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.4411, allocations: 439.7 kB / 1.011 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-05/0.4412, allocations: 43.86 kB / 1.011 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.4427, allocations: 254.6 kB / 1.011 GB, free: 10 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/0.4429, allocations: 75.98 kB / 1.012 GB, free: 9.926 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * 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.002621/0.4455, allocations: 1.285 MB / 1.013 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004142/0.4459, allocations: 94.88 kB / 1.013 GB, free: 8.535 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.4486, allocations: 1.572 MB / 1.014 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.4487, allocations: 8 kB / 1.014 GB, free: 6.934 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.4487, allocations: 4 kB / 1.014 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.4487, allocations: 3.984 kB / 1.014 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008566/0.4573, allocations: 4.502 MB / 1.019 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.4573, allocations: 4 kB / 1.019 GB, free: 2.305 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.4584, allocations: 255.6 kB / 1.019 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.712e-05/0.4584, allocations: 4 kB / 1.019 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-05/0.4585, allocations: 15.98 kB / 1.019 GB, free: 2.035 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.226e-05/0.4585, allocations: 11.94 kB / 1.019 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.4585, allocations: 4 kB / 1.019 GB, free: 2.02 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.461, allocations: 1.919 MB / 1.021 GB, free: 84 kB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007694/0.4618, allocations: 367.4 kB / 1.021 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/0.4622, allocations: 16 kB / 1.021 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.4632, allocations: 127.7 kB / 1.022 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.4634, allocations: 60.52 kB / 1.022 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.4634, allocations: 24 kB / 1.022 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001368/0.4648, allocations: 0.7956 MB / 1.022 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4648, allocations: 0 / 1.022 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004448/0.4693, allocations: 1.298 MB / 1.024 GB, free: 13.39 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * 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.002953/0.4723, allocations: 2.484 MB / 1.026 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004896/0.4772, allocations: 2.983 MB / 1.029 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.4772, allocations: 0.875 kB / 1.029 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009813/0.4782, allocations: 0.6714 MB / 1.03 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.4802, allocations: 189.2 kB / 1.03 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02801/0.5083, allocations: 16.79 MB / 1.046 GB, free: 5.473 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003265/0.5116, allocations: 2.202 MB / 1.048 GB, free: 3.238 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002952/0.5146, allocations: 1.101 MB / 1.049 GB, free: 2.133 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/0.516, allocations: 0.839 MB / 1.05 GB, free: 1.293 MB / 0.698 GB Notification: Performance of SimCode: time 1.333e-06/0.5161, allocations: 0 / 1.05 GB, free: 1.293 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5877/1.104, allocations: 30.19 MB / 1.08 GB, free: 131.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/1.104, allocations: 240.4 kB / 1.08 GB, free: 130.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.963/4.067, allocations: 2.812 kB / 1.08 GB, free: 130.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)