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.478/1.478, allocations: 252 MB / 267 MB, free: 10.98 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.0009937/0.0009936, allocations: 178.3 kB / 326.6 MB, free: 2.227 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.704/1.704, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0007768/0.0007766, allocations: 87 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005106/0.0005109, allocations: 6.281 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2354, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01939/0.2548, allocations: 15.59 MB / 0.9155 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009497/0.2644, allocations: 5.594 MB / 0.921 GB, free: 42.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.2662, allocations: 43.88 kB / 0.921 GB, free: 42.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.2673, allocations: 313.7 kB / 0.9213 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.2692, allocations: 0.6419 MB / 0.922 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.2714, allocations: 0.6947 MB / 0.9226 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004207/0.2756, allocations: 4.95 MB / 0.9275 GB, free: 35.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008912/0.2846, allocations: 7.022 MB / 0.9343 GB, free: 28.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.2871, allocations: 1.312 MB / 0.9356 GB, free: 27.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002938/0.29, allocations: 1.885 MB / 0.9375 GB, free: 25.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0008291/0.2909, allocations: 188 kB / 0.9376 GB, free: 25.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.2927, allocations: 411.7 kB / 0.938 GB, free: 25.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001844/0.2945, allocations: 1.388 MB / 0.9394 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.2957, allocations: 0.5628 MB / 0.9399 GB, free: 23.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.005329/0.301, allocations: 5.334 MB / 0.9451 GB, free: 17.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.3011, allocations: 0 / 0.9451 GB, free: 17.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3011, allocations: 0 / 0.9451 GB, free: 17.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000201/0.3013, allocations: 0 / 0.9451 GB, free: 17.7 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.00568/0.307, allocations: 2.517 MB / 0.9476 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.3071, allocations: 8.031 kB / 0.9476 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001137/0.3082, allocations: 462.5 kB / 0.9481 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004937/0.3132, allocations: 1.136 MB / 0.9492 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00327/0.3165, allocations: 1.584 MB / 0.9507 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.3166, allocations: 222 kB / 0.9509 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006894/0.3173, allocations: 296 kB / 0.9512 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00896/0.3263, allocations: 5.29 MB / 0.9564 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.177e-05/0.3264, allocations: 7.922 kB / 0.9564 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003058/0.3267, allocations: 124 kB / 0.9565 GB, free: 5.855 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000203/0.3269, allocations: 205.1 kB / 0.9567 GB, free: 5.652 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007456/0.3344, allocations: 4.745 MB / 0.9613 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03501/0.3694, allocations: 23.19 MB / 0.984 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00478/0.3743, allocations: 3.195 MB / 0.9871 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.3757, allocations: 0.9056 MB / 0.988 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/0.3759, allocations: 113.7 kB / 0.9881 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.376, allocations: 43.16 kB / 0.9881 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 2.545e-06/0.376, allocations: 0 / 0.9881 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.003449/0.3795, allocations: 2.097 MB / 0.9902 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.3796, allocations: 222.5 kB / 0.9904 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.3813, allocations: 1.091 MB / 0.9915 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.329e-05/0.3815, allocations: 41.7 kB / 0.9915 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.3825, allocations: 1.284 MB / 0.9927 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/0.3829, allocations: 299.9 kB / 0.993 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-05/0.383, allocations: 28 kB / 0.9931 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002264/0.3832, allocations: 406.7 kB / 0.9934 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.3847, allocations: 0.89 MB / 0.9943 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.3866, allocations: 1.503 MB / 0.9958 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.3885, allocations: 1.186 MB / 0.9969 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-05/0.3885, allocations: 4 kB / 0.9969 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00409/0.3926, allocations: 2.484 MB / 0.9994 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005515/0.3932, allocations: 0.6467 MB / 1 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-05/0.3932, allocations: 20 kB / 1 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.518e-05/0.3933, allocations: 32 kB / 1 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.395, allocations: 463.2 kB / 1 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.089e-05/0.3951, allocations: 39.86 kB / 1.001 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.3971, allocations: 341.9 kB / 1.001 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.3973, allocations: 79.98 kB / 1.001 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3974, allocations: 7.938 kB / 1.001 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004036/0.4014, allocations: 2.218 MB / 1.003 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.792e-05/0.4015, allocations: 20 kB / 1.003 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.063e-05/0.4015, allocations: 28 kB / 1.003 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.403, allocations: 443.2 kB / 1.004 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-05/0.403, allocations: 39.86 kB / 1.004 GB, free: 2.359 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.4044, allocations: 250.6 kB / 1.004 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.4045, allocations: 80.05 kB / 1.004 GB, free: 2.035 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00243/0.407, allocations: 1.281 MB / 1.005 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004199/0.4074, allocations: 98.84 kB / 1.005 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/0.4102, allocations: 1.571 MB / 1.007 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.4102, allocations: 8 kB / 1.007 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.4102, allocations: 4 kB / 1.007 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.4103, allocations: 3.984 kB / 1.007 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009317/0.4196, allocations: 4.498 MB / 1.011 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.4196, allocations: 8 kB / 1.011 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.4207, allocations: 243.6 kB / 1.011 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.835e-05/0.4207, allocations: 8 kB / 1.011 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/0.4208, allocations: 27.97 kB / 1.011 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.4208, allocations: 4 kB / 1.011 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.4208, allocations: 7.938 kB / 1.012 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.4232, allocations: 1.915 MB / 1.013 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006877/0.4239, allocations: 363.5 kB / 1.014 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/0.4241, allocations: 16 kB / 1.014 GB, free: 7.805 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009702/0.4251, allocations: 127.8 kB / 1.014 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.4253, allocations: 52.53 kB / 1.014 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.4253, allocations: 20 kB / 1.014 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001195/0.4265, allocations: 0.7917 MB / 1.015 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4265, allocations: 0 / 1.015 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003702/0.4302, allocations: 1.305 MB / 1.016 GB, free: 5.512 MB / 0.6667 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 (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.002759/0.433, allocations: 2.484 MB / 1.018 GB, free: 2.988 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004661/0.4377, allocations: 2.971 MB / 1.021 GB, free: 28 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4377, allocations: 4 kB / 1.021 GB, free: 24 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009451/0.4387, allocations: 0.6594 MB / 1.022 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.4402, allocations: 180.5 kB / 1.022 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/0.4602, allocations: 11.02 MB / 1.033 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003436/0.4636, allocations: 2.206 MB / 1.035 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003068/0.4667, allocations: 1.101 MB / 1.036 GB, free: 368 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/0.4682, allocations: 0.8351 MB / 1.037 GB, free: 15.52 MB / 0.698 GB Notification: Performance of SimCode: time 9.21e-07/0.4683, allocations: 0 / 1.037 GB, free: 15.52 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5093/0.9775, allocations: 30.67 MB / 1.067 GB, free: 136.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.9778, allocations: 222.4 kB / 1.067 GB, free: 136.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.829/3.806, allocations: 0 / 1.067 GB, free: 136.5 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)