Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.001272/0.001273, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 193.9 kB / 16.53 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.811/1.811, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001379/0.001379, allocations: 78.11 kB / 0.6716 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1974, allocations: 114.5 MB / 0.7835 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04032/0.2377, allocations: 37.25 MB / 0.8199 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02002/0.2578, allocations: 13.59 MB / 0.8331 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002743/0.2606, allocations: 111.6 kB / 0.8332 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005282/0.2659, allocations: 2.282 MB / 0.8355 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.2694, allocations: 1.404 MB / 0.8368 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008065/0.2774, allocations: 3.519 MB / 0.8403 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007186/0.2846, allocations: 6.383 MB / 0.8465 GB, free: 12.71 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01094/0.2956, allocations: 10.03 MB / 0.8563 GB, free: 2.547 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003881/0.2995, allocations: 2.723 MB / 0.859 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004345/0.3039, allocations: 3.198 MB / 0.8621 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009093/0.3048, allocations: 0.6211 MB / 0.8627 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.307, allocations: 1.225 MB / 0.8639 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002074/0.3091, allocations: 2.484 MB / 0.8663 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00253/0.3116, allocations: 2.545 MB / 0.8688 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006654/0.3183, allocations: 9.084 MB / 0.8777 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3183, allocations: 0 / 0.8777 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3183, allocations: 0 / 0.8777 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001188/0.3185, allocations: 0 / 0.8777 GB, free: 12.61 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.007178/0.3257, allocations: 4.299 MB / 0.8819 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3257, allocations: 8.031 kB / 0.8819 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000749/0.3265, allocations: 0.6326 MB / 0.8825 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003683/0.3301, allocations: 0.952 MB / 0.8834 GB, free: 6.633 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/0.3337, allocations: 2.187 MB / 0.8856 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.3339, allocations: 325 kB / 0.8859 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006134/0.3345, allocations: 420.3 kB / 0.8863 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/0.3449, allocations: 7.369 MB / 0.8935 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.81e-05/0.345, allocations: 11.94 kB / 0.8935 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004163/0.3454, allocations: 184 kB / 0.8937 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002817/0.3457, allocations: 286.9 kB / 0.8939 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008285/0.354, allocations: 5.963 MB / 0.8997 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3578/0.7118, allocations: 32.62 MB / 0.9316 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.7148, allocations: 2.115 MB / 0.9337 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.7162, allocations: 1.236 MB / 0.9349 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.7163, allocations: 107 kB / 0.935 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.7164, allocations: 48.55 kB / 0.935 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 2.705e-06/0.7164, allocations: 0 / 0.935 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.006426/0.7228, allocations: 5.23 MB / 0.9401 GB, free: 111.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.7229, allocations: 146 kB / 0.9403 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.7246, allocations: 1.457 MB / 0.9417 GB, free: 111.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.55e-05/0.7247, allocations: 42.55 kB / 0.9417 GB, free: 111 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009339/0.7257, allocations: 1.858 MB / 0.9435 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/0.726, allocations: 376.7 kB / 0.9439 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006362/0.7266, allocations: 466.3 kB / 0.9444 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.205e-05/0.7266, allocations: 302.2 kB / 0.9446 GB, free: 108.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.7282, allocations: 1.123 MB / 0.9457 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.7304, allocations: 2.183 MB / 0.9479 GB, free: 106.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0036/0.734, allocations: 3.405 MB / 0.9512 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.12e-05/0.7341, allocations: 10.12 kB / 0.9512 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00468/0.7387, allocations: 3.307 MB / 0.9544 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.649e-05/0.7388, allocations: 19.53 kB / 0.9545 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.099e-05/0.7389, allocations: 34.97 kB / 0.9545 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.232e-05/0.739, allocations: 45.75 kB / 0.9545 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.741, allocations: 0.6182 MB / 0.9551 GB, free: 103 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.304e-05/0.7411, allocations: 78.16 kB / 0.9552 GB, free: 103 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.7432, allocations: 316.8 kB / 0.9555 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/0.7433, allocations: 112.6 kB / 0.9556 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003245/0.7466, allocations: 2.409 MB / 0.958 GB, free: 102 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00145/0.7481, allocations: 2.011 MB / 0.9599 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002361/0.7504, allocations: 3.027 MB / 0.9629 GB, free: 97.99 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.648e-05/0.7505, allocations: 10.59 kB / 0.9629 GB, free: 97.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.003243/0.7537, allocations: 2.924 MB / 0.9658 GB, free: 96.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.7537, allocations: 21.41 kB / 0.9658 GB, free: 96.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/0.7538, allocations: 34.72 kB / 0.9658 GB, free: 96.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-05/0.7538, allocations: 56.58 kB / 0.9659 GB, free: 96.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.7552, allocations: 0.5517 MB / 0.9664 GB, free: 96.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.284e-05/0.7552, allocations: 71.25 kB / 0.9665 GB, free: 96.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.7566, allocations: 245.2 kB / 0.9667 GB, free: 96.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.7568, allocations: 118.3 kB / 0.9668 GB, free: 96.17 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0004303/0.7572, allocations: 334.7 kB / 0.9671 GB, free: 95.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.7574, allocations: 152.9 kB / 0.9673 GB, free: 95.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.7597, allocations: 2.225 MB / 0.9695 GB, free: 94.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.7598, allocations: 11.31 kB / 0.9695 GB, free: 94.51 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.7598, allocations: 6.125 kB / 0.9695 GB, free: 94.51 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.7598, allocations: 3.984 kB / 0.9695 GB, free: 94.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009401/0.7692, allocations: 10.98 MB / 0.9802 GB, free: 87.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.7692, allocations: 11.53 kB / 0.9802 GB, free: 87.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.7704, allocations: 390.6 kB / 0.9806 GB, free: 87.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.7704, allocations: 15.25 kB / 0.9806 GB, free: 87.83 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.744e-05/0.7705, allocations: 30.31 kB / 0.9806 GB, free: 87.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.7705, allocations: 26.75 kB / 0.9806 GB, free: 87.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.7705, allocations: 21.3 kB / 0.9807 GB, free: 87.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.7726, allocations: 2.757 MB / 0.9834 GB, free: 85.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000447/0.773, allocations: 454.8 kB / 0.9838 GB, free: 85.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.7732, allocations: 39.89 kB / 0.9838 GB, free: 85.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009121/0.7741, allocations: 163.7 kB / 0.984 GB, free: 85.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.7743, allocations: 100.2 kB / 0.9841 GB, free: 85.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/0.7744, allocations: 40 kB / 0.9841 GB, free: 85.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007978/0.7752, allocations: 0.9703 MB / 0.9851 GB, free: 84.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7752, allocations: 0 / 0.9851 GB, free: 84.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002713/0.7779, allocations: 1.129 MB / 0.9862 GB, free: 82.92 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * 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.002188/0.7801, allocations: 3.338 MB / 0.9894 GB, free: 79.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003846/0.784, allocations: 4.239 MB / 0.9936 GB, free: 75.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.784, allocations: 4 kB / 0.9936 GB, free: 75.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009031/0.7849, allocations: 1.059 MB / 0.9946 GB, free: 74.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.7867, allocations: 455.1 kB / 0.995 GB, free: 73.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0217/0.8085, allocations: 22.65 MB / 1.017 GB, free: 49.26 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001875/0.8104, allocations: 2.865 MB / 1.02 GB, free: 46.37 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002303/0.8127, allocations: 1.204 MB / 1.021 GB, free: 45.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/0.8139, allocations: 1.269 MB / 1.022 GB, free: 43.89 MB / 0.7325 GB Notification: Performance of SimCode: time 1.162e-06/0.8139, allocations: 0 / 1.022 GB, free: 43.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5602/1.374, allocations: 45.9 MB / 1.067 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.295/10.67, allocations: 7.156 kB / 1.067 GB, free: 14.4 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)