Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009151/0.0009152, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000934/0.000934, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005759/0.0005762, allocations: 13.66 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2674, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005467/0.2729, allocations: 3.764 MB / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003985/0.277, allocations: 2.251 MB / 0.7933 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004341/0.2775, allocations: 15.88 kB / 0.7933 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003563/0.2778, allocations: 71.36 kB / 0.7934 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.279, allocations: 278.6 kB / 0.7936 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008875/0.2799, allocations: 231.4 kB / 0.7939 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.281, allocations: 0.7334 MB / 0.7946 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.2821, allocations: 422.8 kB / 0.795 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.2827, allocations: 223 kB / 0.7952 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005129/0.2832, allocations: 251 kB / 0.7954 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.728e-05/0.2833, allocations: 20 kB / 0.7954 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005764/0.2838, allocations: 211.6 kB / 0.7956 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.284, allocations: 123.6 kB / 0.7958 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.2842, allocations: 109.5 kB / 0.7959 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008091/0.285, allocations: 0.5418 MB / 0.7964 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.285, allocations: 0 / 0.7964 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2851, allocations: 0 / 0.7964 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.434e-05/0.2851, allocations: 0 / 0.7964 GB, free: 2.539 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001475/0.2866, allocations: 0.7091 MB / 0.7971 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.2866, allocations: 12.03 kB / 0.7971 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.2868, allocations: 78.5 kB / 0.7972 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.2883, allocations: 187.1 kB / 0.7974 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007243/0.289, allocations: 391.4 kB / 0.7977 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.2891, allocations: 28.98 kB / 0.7978 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.891e-05/0.2892, allocations: 35.94 kB / 0.7978 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009439/0.2901, allocations: 0.6429 MB / 0.7984 GB, free: 280 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.2902, allocations: 7.938 kB / 0.7984 GB, free: 272 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.2902, allocations: 23.94 kB / 0.7985 GB, free: 248 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.11e-05/0.2903, allocations: 51.97 kB / 0.7985 GB, free: 196 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008049/0.2911, allocations: 0.4908 MB / 0.799 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003722/0.2948, allocations: 3.786 MB / 0.8027 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.2965, allocations: 0.6282 MB / 0.8033 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.2968, allocations: 174.5 kB / 0.8035 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.2968, allocations: 0 / 0.8035 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.2968, allocations: 46.5 kB / 0.8035 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.2968, allocations: 0 / 0.8035 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002273/0.2991, allocations: 1.273 MB / 0.8047 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.2992, allocations: 110.8 kB / 0.8049 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.2997, allocations: 401.7 kB / 0.8052 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.2997, allocations: 33.7 kB / 0.8053 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.2999, allocations: 275.7 kB / 0.8055 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.639e-05/0.3, allocations: 122.3 kB / 0.8056 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.3, allocations: 15.94 kB / 0.8057 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3002, allocations: 354.8 kB / 0.806 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.3004, allocations: 173 kB / 0.8062 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.3008, allocations: 379.2 kB / 0.8065 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.3012, allocations: 232.1 kB / 0.8067 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.3012, allocations: 4 kB / 0.8068 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001046/0.3022, allocations: 0.6749 MB / 0.8074 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.3023, allocations: 8 kB / 0.8074 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.3023, allocations: 8 kB / 0.8074 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000396/0.3027, allocations: 90.5 kB / 0.8075 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.3031, allocations: 112.1 kB / 0.8076 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003538/0.3067, allocations: 4.025 MB / 0.8116 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.3071, allocations: 35.92 kB / 0.8116 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.3071, allocations: 24 kB / 0.8116 GB, free: 1.828 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002747/0.3074, allocations: 193.8 kB / 0.8118 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.3076, allocations: 47.44 kB / 0.8118 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009375/0.3085, allocations: 0.5229 MB / 0.8123 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3085, allocations: 8 kB / 0.8124 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3085, allocations: 0 / 0.8124 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3085, allocations: 3.938 kB / 0.8124 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.3104, allocations: 1.28 MB / 0.8136 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3104, allocations: 4 kB / 0.8136 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.3106, allocations: 67.89 kB / 0.8137 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000249/0.3109, allocations: 90.73 kB / 0.8138 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.3109, allocations: 12.27 kB / 0.8138 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002995/0.3139, allocations: 4.017 MB / 0.8177 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.314, allocations: 3.938 kB / 0.8177 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009012/0.3149, allocations: 0.7783 MB / 0.8185 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.3151, allocations: 152.5 kB / 0.8186 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.3152, allocations: 12 kB / 0.8186 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.3155, allocations: 27.92 kB / 0.8186 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.3155, allocations: 39.91 kB / 0.8187 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.3156, allocations: 11.98 kB / 0.8187 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003159/0.3159, allocations: 279.1 kB / 0.819 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3159, allocations: 0 / 0.819 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007278/0.3166, allocations: 120 kB / 0.8191 GB, free: 9.57 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.001188/0.3178, allocations: 1.332 MB / 0.8204 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.3191, allocations: 0.8134 MB / 0.8212 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3191, allocations: 4.125 kB / 0.8212 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006981/0.3198, allocations: 0.5427 MB / 0.8217 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008867/0.3207, allocations: 144 kB / 0.8218 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004223/0.3249, allocations: 2.799 MB / 0.8246 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.3254, allocations: 0.8663 MB / 0.8254 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003367/0.3257, allocations: 100.5 kB / 0.8255 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.326, allocations: 151.4 kB / 0.8257 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/0.326, allocations: 0 / 0.8257 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.3535, allocations: 9.406 MB / 0.8348 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/0.3538, allocations: 226.9 kB / 0.8351 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/2.456, allocations: 4.062 kB / 0.8351 GB, free: 9.043 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) Environment - environmentSimulation: