Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.645/1.645, allocations: 288.2 MB / 303.2 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.001525/0.001525, allocations: 188 kB / 371.8 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.997/1.997, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.001214/0.001214, allocations: 105.1 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004815, allocations: 15.59 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2322, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008867/0.2412, allocations: 9.62 MB / 0.9889 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007436/0.2487, allocations: 5.4 MB / 0.9942 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.2501, allocations: 43.62 kB / 0.9942 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009213/0.251, allocations: 226.4 kB / 0.9944 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003201/0.2543, allocations: 0.8373 MB / 0.9952 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.2564, allocations: 0.6017 MB / 0.9958 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002413/0.2589, allocations: 1.26 MB / 0.9971 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003526/0.2624, allocations: 2.155 MB / 0.9992 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.2636, allocations: 0.611 MB / 0.9998 GB, free: 6.766 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.2648, allocations: 0.6536 MB / 1 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.2651, allocations: 60 kB / 1 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.2664, allocations: 0.5109 MB / 1.001 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004619/0.2669, allocations: 422.7 kB / 1.001 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004205/0.2673, allocations: 296.9 kB / 1.002 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.2693, allocations: 1.722 MB / 1.003 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2694, allocations: 4 kB / 1.003 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2694, allocations: 0 / 1.003 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.53e-05/0.2694, allocations: 0 / 1.003 GB, free: 3.098 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002186/0.2716, allocations: 1.591 MB / 1.005 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.2717, allocations: 12.03 kB / 1.005 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001878/0.2718, allocations: 211.2 kB / 1.005 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003814/0.2757, allocations: 0.6846 MB / 1.006 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.2774, allocations: 0.8789 MB / 1.007 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-05/0.2775, allocations: 98.44 kB / 1.007 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.2777, allocations: 128 kB / 1.007 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002986/0.2807, allocations: 2.183 MB / 1.009 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4e-05/0.2807, allocations: 15.88 kB / 1.009 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.2809, allocations: 59.97 kB / 1.009 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001968/0.2811, allocations: 162.3 kB / 1.009 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002806/0.2839, allocations: 1.863 MB / 1.011 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/0.2967, allocations: 12.47 MB / 1.023 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004245/0.301, allocations: 1.968 MB / 1.025 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.3012, allocations: 102 kB / 1.025 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.3013, allocations: 47.5 kB / 1.025 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=103): time 2.745e-06/0.3013, allocations: 0 / 1.025 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110): time 0.006179/0.3074, allocations: 3.702 MB / 1.029 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.3075, allocations: 72.28 kB / 1.029 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.3086, allocations: 0.9126 MB / 1.03 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.3e-05/0.3087, allocations: 41.7 kB / 1.03 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/0.3091, allocations: 0.7276 MB / 1.031 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/0.3094, allocations: 390.4 kB / 1.031 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.3095, allocations: 28 kB / 1.031 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3097, allocations: 369.9 kB / 1.031 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008687/0.3106, allocations: 0.609 MB / 1.032 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.3117, allocations: 1.102 MB / 1.033 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.3128, allocations: 0.7564 MB / 1.034 GB, free: 2.168 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/0.3128, allocations: 4 kB / 1.034 GB, free: 2.164 MB / 0.6511 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00323/0.316, allocations: 2.088 MB / 1.036 GB, free: 44 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.3161, allocations: 13.72 kB / 1.036 GB, free: 32 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.3161, allocations: 16.88 kB / 1.036 GB, free: 16 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008155/0.3169, allocations: 262.7 kB / 1.036 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.3182, allocations: 375.4 kB / 1.036 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008541/0.3268, allocations: 10.82 MB / 1.047 GB, free: 3.477 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.3287, allocations: 127.8 kB / 1.047 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/0.3289, allocations: 71.94 kB / 1.047 GB, free: 3.281 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009704/0.3299, allocations: 402.6 kB / 1.048 GB, free: 2.879 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.3302, allocations: 130.4 kB / 1.048 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/0.3332, allocations: 1.685 MB / 1.049 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.3332, allocations: 12 kB / 1.049 GB, free: 1.023 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3332, allocations: 0 / 1.049 GB, free: 1.023 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.3332, allocations: 7.984 kB / 1.049 GB, free: 1.016 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005755/0.339, allocations: 3.284 MB / 1.053 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.339, allocations: 8 kB / 1.053 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008771/0.3399, allocations: 215.6 kB / 1.053 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007188/0.3406, allocations: 238.9 kB / 1.053 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.734e-05/0.3407, allocations: 35.81 kB / 1.053 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008685/0.3494, allocations: 10.81 MB / 1.064 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-05/0.3495, allocations: 8 kB / 1.064 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5338/0.8833, allocations: 2.057 MB / 1.066 GB, free: 82.58 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008008/0.8842, allocations: 330 kB / 1.066 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.8843, allocations: 33.78 kB / 1.066 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007658/0.8851, allocations: 90 kB / 1.066 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/0.8853, allocations: 92.62 kB / 1.066 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.088e-05/0.8854, allocations: 35.5 kB / 1.066 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008832/0.8863, allocations: 0.6107 MB / 1.067 GB, free: 82.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.11e-07/0.8863, allocations: 0 / 1.067 GB, free: 82.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001593/0.8879, allocations: 392.2 kB / 1.067 GB, free: 82.38 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003452/0.8914, allocations: 4.154 MB / 1.071 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004079/0.8955, allocations: 2.477 MB / 1.074 GB, free: 78.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.8955, allocations: 5.531 kB / 1.074 GB, free: 78.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002445/0.898, allocations: 1.628 MB / 1.075 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.9, allocations: 309.6 kB / 1.075 GB, free: 77.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/0.9188, allocations: 19.06 MB / 1.094 GB, free: 61.98 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/0.9201, allocations: 1.362 MB / 1.095 GB, free: 61.21 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001484/0.9216, allocations: 360.5 kB / 1.096 GB, free: 61.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006726/0.9223, allocations: 0.5159 MB / 1.096 GB, free: 60.77 MB / 0.6823 GB Notification: Performance of SimCode: time 1.482e-06/0.9223, allocations: 3.484 kB / 1.096 GB, free: 60.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06576/0.9881, allocations: 26.73 MB / 1.122 GB, free: 51.94 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.9883, allocations: 235.7 kB / 1.123 GB, free: 51.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.937/3.925, allocations: 5.406 kB / 1.123 GB, free: 51.7 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)