Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.0009879/0.0009877, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007143/0.007143, allocations: 169.7 kB / 16.27 MB, free: 6.34 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.336/1.336, allocations: 205.4 MB / 222.4 MB, free: 5.543 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.652/1.652, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.000486/0.0004861, allocations: 18.5 kB / 0.6744 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1825, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01425/0.1967, allocations: 14.02 MB / 0.8017 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.21, allocations: 10.32 MB / 0.8118 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.211, allocations: 47.69 kB / 0.8118 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007351/0.2118, allocations: 298 kB / 0.8121 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00392/0.2157, allocations: 1.6 MB / 0.8137 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.2172, allocations: 0.689 MB / 0.8143 GB, free: 416 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003412/0.2206, allocations: 3.413 MB / 0.8177 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002963/0.2236, allocations: 1.984 MB / 0.8196 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.2253, allocations: 1.328 MB / 0.8209 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.2266, allocations: 1.082 MB / 0.822 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.2267, allocations: 72 kB / 0.822 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.2281, allocations: 0.8616 MB / 0.8229 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004204/0.2285, allocations: 0.4943 MB / 0.8234 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007209/0.2293, allocations: 0.8602 MB / 0.8242 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0023/0.2316, allocations: 2.678 MB / 0.8268 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2316, allocations: 0 / 0.8268 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2316, allocations: 0 / 0.8268 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.2316, allocations: 0 / 0.8268 GB, free: 3.539 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003036/0.2346, allocations: 1.843 MB / 0.8286 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2347, allocations: 12.02 kB / 0.8286 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/0.2349, allocations: 194.4 kB / 0.8288 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.2466, allocations: 2.171 MB / 0.8309 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.2488, allocations: 1.206 MB / 0.8321 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.507e-05/0.2489, allocations: 94.67 kB / 0.8322 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.2491, allocations: 115.9 kB / 0.8323 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005553/0.2547, allocations: 2.701 MB / 0.8349 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/0.2547, allocations: 7.938 kB / 0.8349 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/0.2549, allocations: 51.98 kB / 0.835 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006434/0.2555, allocations: 198.1 kB / 0.8352 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00752/0.2631, allocations: 2.838 MB / 0.838 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01525/0.2783, allocations: 10.57 MB / 0.8483 GB, free: 12.69 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006798/0.2852, allocations: 2.391 MB / 0.8506 GB, free: 10.27 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00322/0.2884, allocations: 1.299 MB / 0.8519 GB, free: 8.965 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.323e-05/0.2885, allocations: 9 kB / 0.8519 GB, free: 8.957 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.2885, allocations: 39.56 kB / 0.8519 GB, free: 8.91 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 2.424e-06/0.2885, allocations: 0 / 0.8519 GB, free: 8.91 MB / 0.67 GB Notification: Performance of matching and sorting (n=153): time 0.05883/0.3474, allocations: 16.54 MB / 0.8681 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.3475, allocations: 64.72 kB / 0.8681 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.3489, allocations: 1.172 MB / 0.8693 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001904/0.3491, allocations: 49.7 kB / 0.8693 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005029/0.3496, allocations: 0.7514 MB / 0.8701 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004695/0.3501, allocations: 0.5121 MB / 0.8706 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.3503, allocations: 121.7 kB / 0.8707 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.3504, allocations: 305.1 kB / 0.871 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003527/0.354, allocations: 1.53 MB / 0.8725 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003661/0.3576, allocations: 1.811 MB / 0.8742 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007359/0.365, allocations: 3.408 MB / 0.8776 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.365, allocations: 4 kB / 0.8776 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01311/0.3782, allocations: 5.308 MB / 0.8828 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.3782, allocations: 14.95 kB / 0.8828 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.3782, allocations: 8 kB / 0.8828 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006754/0.385, allocations: 1.879 MB / 0.8846 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/0.3872, allocations: 423.2 kB / 0.885 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02707/0.4143, allocations: 22.21 MB / 0.9067 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/0.4171, allocations: 319.5 kB / 0.907 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/0.4173, allocations: 67.97 kB / 0.9071 GB, free: 14.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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 {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008525/0.4181, allocations: 462.1 kB / 0.9075 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.4184, allocations: 173.9 kB / 0.9077 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/0.4321, allocations: 5.374 MB / 0.9129 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.4321, allocations: 16 kB / 0.9129 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.672e-05/0.4322, allocations: 16 kB / 0.913 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/0.4322, allocations: 7.969 kB / 0.913 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/0.4489, allocations: 7.473 MB / 0.9203 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.449, allocations: 8.344 kB / 0.9203 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/0.4508, allocations: 359.4 kB / 0.9206 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3539/0.8047, allocations: 1.701 MB / 0.9223 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002627/0.805, allocations: 44.72 kB / 0.9223 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02231/0.8273, allocations: 21.37 MB / 0.9432 GB, free: 114 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.8273, allocations: 2.625 kB / 0.9432 GB, free: 114 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/0.8393, allocations: 4.927 MB / 0.948 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008048/0.8402, allocations: 497.6 kB / 0.9485 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/0.8405, allocations: 34.97 kB / 0.9485 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002276/0.8428, allocations: 326.2 kB / 0.9488 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005227/0.8433, allocations: 148.5 kB / 0.949 GB, free: 112 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/0.8435, allocations: 59.36 kB / 0.949 GB, free: 112 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001331/0.8448, allocations: 0.7893 MB / 0.9498 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8448, allocations: 0 / 0.9498 GB, free: 111.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002062/0.8469, allocations: 0.6567 MB / 0.9504 GB, free: 111.6 MB / 0.7325 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 (46): * Single equations (assignments): 38 * 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 {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01173/0.8586, allocations: 5.523 MB / 0.9558 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01009/0.8687, allocations: 5.165 MB / 0.9609 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.8688, allocations: 5.094 kB / 0.9609 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006101/0.8749, allocations: 3.362 MB / 0.9642 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/0.8778, allocations: 0.524 MB / 0.9647 GB, free: 105.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04176/0.9195, allocations: 23.76 MB / 0.9879 GB, free: 88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.9206, allocations: 1.572 MB / 0.9894 GB, free: 86.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001565/0.9222, allocations: 391.2 kB / 0.9898 GB, free: 86.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007608/0.923, allocations: 0.6554 MB / 0.9904 GB, free: 85.36 MB / 0.7325 GB Notification: Performance of SimCode: time 9.22e-07/0.923, allocations: 0 / 0.9904 GB, free: 85.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06847/0.9915, allocations: 55.57 MB / 1.045 GB, free: 30.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001326/0.9916, allocations: 243.8 kB / 1.045 GB, free: 30.26 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.863/3.854, allocations: 0 / 1.045 GB, free: 30.26 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)