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.0009493/0.0009491, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007119/0.007119, allocations: 169.8 kB / 16.26 MB, free: 6.676 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.319/1.319, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.606/1.606, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004797/0.0004797, allocations: 14.5 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1909, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.037/0.228, allocations: 36.02 MB / 0.8232 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02005/0.2481, allocations: 13.52 MB / 0.8364 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00295/0.2511, allocations: 95.62 kB / 0.8365 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.2525, allocations: 0.5973 MB / 0.837 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002973/0.2555, allocations: 1.335 MB / 0.8384 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004186/0.2597, allocations: 1.932 MB / 0.8402 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008126/0.2679, allocations: 9.581 MB / 0.8496 GB, free: 12.23 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01427/0.2821, allocations: 11.92 MB / 0.8612 GB, free: 200 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.2847, allocations: 1.825 MB / 0.863 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.2877, allocations: 2.714 MB / 0.8657 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003625/0.288, allocations: 252 kB / 0.8659 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.2897, allocations: 1.053 MB / 0.8669 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.2913, allocations: 1.996 MB / 0.8689 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001783/0.2931, allocations: 2.015 MB / 0.8709 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006897/0.3, allocations: 8.676 MB / 0.8793 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3001, allocations: 4 kB / 0.8793 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.825e-06/0.3001, allocations: 3.938 kB / 0.8793 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002036/0.3003, allocations: 0 / 0.8793 GB, free: 13.59 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.006296/0.3066, allocations: 3.39 MB / 0.8826 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3066, allocations: 12.03 kB / 0.8827 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007973/0.3074, allocations: 0.6404 MB / 0.8833 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003535/0.311, allocations: 0.952 MB / 0.8842 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/0.314, allocations: 2.179 MB / 0.8863 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.3142, allocations: 329 kB / 0.8867 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006276/0.3149, allocations: 432.2 kB / 0.8871 GB, free: 5.547 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01015/0.325, allocations: 7.369 MB / 0.8943 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.08e-05/0.3251, allocations: 11.94 kB / 0.8943 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/0.3256, allocations: 176 kB / 0.8944 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000278/0.3258, allocations: 290.9 kB / 0.8947 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008297/0.3342, allocations: 5.963 MB / 0.9005 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3901/0.7243, allocations: 32.63 MB / 0.9324 GB, free: 69.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/0.7273, allocations: 2.117 MB / 0.9345 GB, free: 69.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.7287, allocations: 1.232 MB / 0.9357 GB, free: 69.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.7289, allocations: 109 kB / 0.9358 GB, free: 69.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.7289, allocations: 47.31 kB / 0.9358 GB, free: 69.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 2.565e-06/0.7289, allocations: 0 / 0.9358 GB, free: 69.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.00644/0.7353, allocations: 5.241 MB / 0.9409 GB, free: 67.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.7354, allocations: 141.5 kB / 0.9411 GB, free: 67.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.7373, allocations: 1.454 MB / 0.9425 GB, free: 67.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.977e-05/0.7374, allocations: 45.3 kB / 0.9425 GB, free: 67.31 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.7385, allocations: 1.862 MB / 0.9444 GB, free: 66.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.7388, allocations: 376.6 kB / 0.9447 GB, free: 65.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/0.7391, allocations: 168.5 kB / 0.9449 GB, free: 65.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.7392, allocations: 301.6 kB / 0.9452 GB, free: 65.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/0.741, allocations: 1.115 MB / 0.9463 GB, free: 65.67 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/0.7431, allocations: 2.184 MB / 0.9484 GB, free: 64.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/0.747, allocations: 3.401 MB / 0.9517 GB, free: 63.01 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.491e-05/0.747, allocations: 9.188 kB / 0.9517 GB, free: 63.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004649/0.7517, allocations: 3.324 MB / 0.955 GB, free: 62.85 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003842/0.7521, allocations: 1.079 MB / 0.956 GB, free: 61.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.094e-05/0.7521, allocations: 40.77 kB / 0.9561 GB, free: 61.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.504e-05/0.7522, allocations: 47.62 kB / 0.9561 GB, free: 61.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.7542, allocations: 0.6192 MB / 0.9567 GB, free: 61.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.336e-05/0.7542, allocations: 72.73 kB / 0.9568 GB, free: 61.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.756, allocations: 314.3 kB / 0.9571 GB, free: 61.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.7562, allocations: 118.2 kB / 0.9572 GB, free: 61.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.7562, allocations: 3.188 kB / 0.9572 GB, free: 61.44 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003465/0.7596, allocations: 2.75 MB / 0.9599 GB, free: 61.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.771e-05/0.7597, allocations: 33.91 kB / 0.9599 GB, free: 61.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.202e-05/0.7597, allocations: 55.64 kB / 0.96 GB, free: 61.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.7614, allocations: 0.5494 MB / 0.9605 GB, free: 61.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.888e-05/0.7615, allocations: 68.38 kB / 0.9606 GB, free: 61.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.763, allocations: 223.7 kB / 0.9608 GB, free: 61.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.7632, allocations: 115.3 kB / 0.9609 GB, free: 61.35 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.002673/0.7659, allocations: 1.708 MB / 0.9626 GB, free: 61.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004507/0.7663, allocations: 161.3 kB / 0.9627 GB, free: 61.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/0.7695, allocations: 2.234 MB / 0.9649 GB, free: 60.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.7696, allocations: 11.62 kB / 0.9649 GB, free: 60.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.7696, allocations: 6.016 kB / 0.9649 GB, free: 60.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.7696, allocations: 4.891 kB / 0.9649 GB, free: 60.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/0.782, allocations: 10.98 MB / 0.9756 GB, free: 58.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/0.7821, allocations: 15.91 kB / 0.9756 GB, free: 58.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/0.7834, allocations: 386.7 kB / 0.976 GB, free: 58.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/0.7834, allocations: 17.31 kB / 0.976 GB, free: 58.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.57e-05/0.7835, allocations: 28.34 kB / 0.9761 GB, free: 58.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-05/0.7836, allocations: 24.56 kB / 0.9761 GB, free: 58.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-06/0.7836, allocations: 17.59 kB / 0.9761 GB, free: 58.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.7862, allocations: 2.768 MB / 0.9788 GB, free: 56.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006526/0.7869, allocations: 467.2 kB / 0.9792 GB, free: 56.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/0.7871, allocations: 35.11 kB / 0.9793 GB, free: 56.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.7882, allocations: 161.6 kB / 0.9794 GB, free: 56.15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.7883, allocations: 107.7 kB / 0.9795 GB, free: 56.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-05/0.7884, allocations: 35.53 kB / 0.9796 GB, free: 56.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001084/0.7895, allocations: 0.9728 MB / 0.9805 GB, free: 55.56 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7895, allocations: 0 / 0.9805 GB, free: 55.56 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003585/0.7931, allocations: 1.126 MB / 0.9816 GB, free: 55.48 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.002569/0.7957, allocations: 3.355 MB / 0.9849 GB, free: 53.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004388/0.8001, allocations: 3.977 MB / 0.9888 GB, free: 51.33 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.8001, allocations: 3.781 kB / 0.9888 GB, free: 51.33 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009901/0.8011, allocations: 1.063 MB / 0.9898 GB, free: 50.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004083/0.8052, allocations: 425.3 kB / 0.9902 GB, free: 50.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02489/0.8301, allocations: 24.33 MB / 1.014 GB, free: 27.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002516/0.8326, allocations: 2.868 MB / 1.017 GB, free: 24.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002494/0.8352, allocations: 1.211 MB / 1.018 GB, free: 22.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.8364, allocations: 1.272 MB / 1.019 GB, free: 21.69 MB / 0.7325 GB Notification: Performance of SimCode: time 7.12e-07/0.8365, allocations: 0 / 1.019 GB, free: 21.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05804/0.8945, allocations: 44.37 MB / 1.063 GB, free: 9.84 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.8947, allocations: 217.7 kB / 1.063 GB, free: 9.582 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.345, allocations: 3.375 kB / 1.063 GB, free: 9.582 MB / 0.7637 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)