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.001375/0.001375, allocations: 109.4 kB / 15.69 MB, free: 128 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.001919/0.001919, allocations: 186.7 kB / 16.62 MB, free: 6.613 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.519/1.519, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.758/1.758, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001774/0.001774, allocations: 62.11 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2078, allocations: 114.6 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01268/0.2206, allocations: 11.07 MB / 0.7944 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008717/0.2293, allocations: 5.832 MB / 0.8001 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.2307, allocations: 55.62 kB / 0.8002 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004022/0.2347, allocations: 1.725 MB / 0.8019 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.2375, allocations: 1.147 MB / 0.803 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.2395, allocations: 0.8093 MB / 0.8038 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002278/0.2418, allocations: 2.119 MB / 0.8059 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.2432, allocations: 1.303 MB / 0.8071 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009624/0.2442, allocations: 0.8484 MB / 0.808 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009573/0.2452, allocations: 0.9143 MB / 0.8089 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.2453, allocations: 112 kB / 0.809 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.2471, allocations: 1.181 MB / 0.8101 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004143/0.2476, allocations: 0.5258 MB / 0.8106 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006406/0.2482, allocations: 0.7888 MB / 0.8114 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.2505, allocations: 2.418 MB / 0.8138 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2505, allocations: 3.984 kB / 0.8138 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2506, allocations: 0 / 0.8138 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.93e-05/0.2506, allocations: 0 / 0.8138 GB, free: 14.27 MB / 0.6387 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.00257/0.2532, allocations: 1.868 MB / 0.8156 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2532, allocations: 8.031 kB / 0.8156 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002171/0.2534, allocations: 211.4 kB / 0.8158 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004348/0.2578, allocations: 0.6737 MB / 0.8165 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.2593, allocations: 1.008 MB / 0.8174 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.989e-05/0.2594, allocations: 94.89 kB / 0.8175 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.2596, allocations: 128.3 kB / 0.8176 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003116/0.2627, allocations: 2.214 MB / 0.8198 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.2628, allocations: 11.88 kB / 0.8198 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.2629, allocations: 59.97 kB / 0.8199 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000186/0.2631, allocations: 162.3 kB / 0.82 GB, free: 7.492 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.2656, allocations: 1.871 MB / 0.8219 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.2764, allocations: 12.44 MB / 0.834 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004012/0.2804, allocations: 1.977 MB / 0.8359 GB, free: 6.242 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007633/0.2812, allocations: 0.6011 MB / 0.8365 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.2814, allocations: 106.1 kB / 0.8366 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.2814, allocations: 51.48 kB / 0.8367 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 2.886e-06/0.2814, allocations: 0 / 0.8367 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.005611/0.287, allocations: 3.698 MB / 0.8403 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.2871, allocations: 64.41 kB / 0.8404 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000992/0.2881, allocations: 0.9203 MB / 0.8412 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/0.2882, allocations: 41.7 kB / 0.8413 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004329/0.2886, allocations: 0.7315 MB / 0.842 GB, free: 15.79 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.2889, allocations: 382.5 kB / 0.8424 GB, free: 15.41 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003589/0.2892, allocations: 287.2 kB / 0.8426 GB, free: 15.12 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.296e-05/0.2893, allocations: 305.1 kB / 0.8429 GB, free: 14.82 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000813/0.2901, allocations: 0.6129 MB / 0.8435 GB, free: 14.21 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.2913, allocations: 1.109 MB / 0.8446 GB, free: 12.89 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/0.2933, allocations: 1.828 MB / 0.8464 GB, free: 10.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.2933, allocations: 4 kB / 0.8464 GB, free: 10.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003069/0.2964, allocations: 2.104 MB / 0.8485 GB, free: 8.699 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.2964, allocations: 16.03 kB / 0.8485 GB, free: 8.684 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.2965, allocations: 16 kB / 0.8485 GB, free: 8.668 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007422/0.2972, allocations: 254.7 kB / 0.8487 GB, free: 8.395 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.2984, allocations: 375.4 kB / 0.8491 GB, free: 8.027 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007966/0.3064, allocations: 11.59 MB / 0.8604 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.3077, allocations: 123.8 kB / 0.8605 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.3079, allocations: 71.98 kB / 0.8606 GB, free: 11.13 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006355/0.3085, allocations: 417.8 kB / 0.861 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.3087, allocations: 130.4 kB / 0.8611 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.3113, allocations: 1.665 MB / 0.8627 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.3113, allocations: 12 kB / 0.8628 GB, free: 8.875 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.3114, allocations: 8 kB / 0.8628 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.3114, allocations: 7.969 kB / 0.8628 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00451/0.3159, allocations: 3.295 MB / 0.866 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.3159, allocations: 4 kB / 0.866 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008071/0.3167, allocations: 223.6 kB / 0.8662 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006494/0.3174, allocations: 243.3 kB / 0.8664 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/0.3175, allocations: 31.88 kB / 0.8665 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007674/0.3251, allocations: 11.57 MB / 0.8778 GB, free: 8.211 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.3252, allocations: 7.938 kB / 0.8778 GB, free: 8.203 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.3277, allocations: 1.8 MB / 0.8795 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.3281, allocations: 307.4 kB / 0.8798 GB, free: 5.973 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.3283, allocations: 31.94 kB / 0.8798 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007039/0.329, allocations: 91.86 kB / 0.8799 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.3292, allocations: 100.7 kB / 0.88 GB, free: 5.754 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.967e-05/0.3293, allocations: 40 kB / 0.8801 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007216/0.33, allocations: 0.6138 MB / 0.8807 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.33, allocations: 3.938 kB / 0.8807 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001313/0.3313, allocations: 396 kB / 0.8811 GB, free: 4.703 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002752/0.3341, allocations: 2.382 MB / 0.8834 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003442/0.3375, allocations: 2.505 MB / 0.8858 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3376, allocations: 0 / 0.8858 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002132/0.3397, allocations: 1.625 MB / 0.8874 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.3415, allocations: 353.6 kB / 0.8877 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.3564, allocations: 11.48 MB / 0.899 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008605/0.3573, allocations: 1.327 MB / 0.9003 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009469/0.3583, allocations: 359.3 kB / 0.9006 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006233/0.3589, allocations: 0.5344 MB / 0.9011 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of SimCode: time 7.52e-07/0.3589, allocations: 0 / 0.9011 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.406/0.7649, allocations: 27.93 MB / 0.9284 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.72, allocations: 6.828 kB / 0.9284 GB, free: 130.4 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/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)