Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.001161, allocations: 90.75 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.001239/0.001239, 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.642/1.642, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.786/1.786, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0008552/0.0008553, allocations: 13.03 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2729, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01054/0.2834, allocations: 9.927 MB / 0.7971 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008523/0.292, allocations: 5.493 MB / 0.8025 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.2932, allocations: 43.69 kB / 0.8025 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006176/0.2939, allocations: 241.9 kB / 0.8027 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002592/0.2965, allocations: 0.8824 MB / 0.8036 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.2982, allocations: 0.6032 MB / 0.8042 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002816/0.301, allocations: 2.352 MB / 0.8065 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003889/0.3049, allocations: 2.16 MB / 0.8086 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.3062, allocations: 0.6923 MB / 0.8093 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.3073, allocations: 0.8288 MB / 0.8101 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.3075, allocations: 64 kB / 0.8101 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.3091, allocations: 0.5968 MB / 0.8107 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006201/0.3097, allocations: 462.6 kB / 0.8112 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.3101, allocations: 296.8 kB / 0.8114 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.3122, allocations: 1.8 MB / 0.8132 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.3123, allocations: 4 kB / 0.8132 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3123, allocations: 0 / 0.8132 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.087e-05/0.3123, allocations: 0 / 0.8132 GB, free: 1.297 MB / 0.6231 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.002902/0.3152, allocations: 1.618 MB / 0.8148 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3153, allocations: 12.03 kB / 0.8148 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002717/0.3155, allocations: 211.2 kB / 0.815 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004248/0.3198, allocations: 0.6845 MB / 0.8157 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.3213, allocations: 0.875 MB / 0.8165 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.907e-05/0.3214, allocations: 94.53 kB / 0.8166 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.3216, allocations: 124 kB / 0.8167 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003475/0.325, allocations: 2.198 MB / 0.8189 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/0.3251, allocations: 19.72 kB / 0.8189 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.3252, allocations: 55.98 kB / 0.819 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/0.3255, allocations: 162.3 kB / 0.8191 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003132/0.3286, allocations: 1.863 MB / 0.8209 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.3416, allocations: 12.47 MB / 0.8331 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/0.3456, allocations: 1.967 MB / 0.835 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008346/0.3465, allocations: 0.5972 MB / 0.8356 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.3467, allocations: 106.1 kB / 0.8357 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.3467, allocations: 39.56 kB / 0.8357 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 2.565e-06/0.3467, allocations: 0 / 0.8357 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.006247/0.353, allocations: 3.71 MB / 0.8394 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.3531, allocations: 64.41 kB / 0.8394 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.3541, allocations: 0.9126 MB / 0.8403 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.013e-05/0.3542, allocations: 49.7 kB / 0.8404 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000622/0.3548, allocations: 0.7237 MB / 0.8411 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/0.3552, allocations: 390.4 kB / 0.8415 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-05/0.3553, allocations: 32 kB / 0.8415 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.3555, allocations: 369.9 kB / 0.8418 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009393/0.3564, allocations: 0.6012 MB / 0.8424 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.3576, allocations: 1.106 MB / 0.8435 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.3588, allocations: 0.768 MB / 0.8443 GB, free: 15.73 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.3588, allocations: 4 kB / 0.8443 GB, free: 15.72 MB / 0.67 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003352/0.3621, allocations: 2.08 MB / 0.8463 GB, free: 13.61 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.3622, allocations: 12 kB / 0.8463 GB, free: 13.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.3622, allocations: 23.94 kB / 0.8463 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007416/0.363, allocations: 259.2 kB / 0.8466 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.3642, allocations: 375.4 kB / 0.8469 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008671/0.3728, allocations: 10.75 MB / 0.8574 GB, free: 1.117 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.3744, allocations: 127.8 kB / 0.8576 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.3745, allocations: 75.92 kB / 0.8576 GB, free: 0.918 MB / 0.67 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.0007198/0.3752, allocations: 402 kB / 0.858 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.3754, allocations: 134.4 kB / 0.8581 GB, free: 392 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/0.3783, allocations: 1.673 MB / 0.8598 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.3783, allocations: 12 kB / 0.8598 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.3784, allocations: 4 kB / 0.8598 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.3784, allocations: 3.984 kB / 0.8598 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005341/0.3837, allocations: 3.292 MB / 0.863 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.3837, allocations: 8.156 kB / 0.863 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000797/0.3846, allocations: 219.6 kB / 0.8632 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006486/0.3852, allocations: 242.7 kB / 0.8635 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/0.3853, allocations: 24 kB / 0.8635 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008809/0.3941, allocations: 10.74 MB / 0.874 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.3942, allocations: 7.938 kB / 0.874 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/0.397, allocations: 1.792 MB / 0.8757 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/0.3976, allocations: 323.4 kB / 0.876 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/0.3978, allocations: 27.98 kB / 0.8761 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007091/0.3985, allocations: 91.88 kB / 0.8761 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.3987, allocations: 88.78 kB / 0.8762 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/0.3988, allocations: 40 kB / 0.8763 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000779/0.3996, allocations: 0.606 MB / 0.8769 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3996, allocations: 0 / 0.8769 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00139/0.401, allocations: 392 kB / 0.8772 GB, free: 11.41 MB / 0.7012 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.002836/0.4038, allocations: 2.382 MB / 0.8796 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003362/0.4072, allocations: 2.477 MB / 0.882 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4072, allocations: 8.062 kB / 0.882 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.4092, allocations: 1.629 MB / 0.8836 GB, free: 4.594 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.4108, allocations: 337.7 kB / 0.8839 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.4236, allocations: 8.517 MB / 0.8922 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.4247, allocations: 1.331 MB / 0.8935 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001123/0.4259, allocations: 363.3 kB / 0.8939 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006842/0.4266, allocations: 0.5149 MB / 0.8944 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of SimCode: time 8.72e-07/0.4266, allocations: 0 / 0.8944 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4605/0.8871, allocations: 26.75 MB / 0.9205 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/0.8873, allocations: 231.5 kB / 0.9207 GB, free: 122.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.899/3.786, allocations: 1.312 kB / 0.9207 GB, free: 122.3 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) Environment - environmentSimulation: