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.001019/0.001019, 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.001071/0.001071, allocations: 189.6 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.27/1.27, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.657/1.657, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001366/0.001366, allocations: 70.17 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2051, 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.01208/0.2172, allocations: 11.07 MB / 0.7944 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00832/0.2256, allocations: 5.836 MB / 0.8001 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009281/0.2265, allocations: 51.69 kB / 0.8002 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003892/0.2305, allocations: 1.722 MB / 0.8019 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.2333, allocations: 1.151 MB / 0.803 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.2353, allocations: 0.8053 MB / 0.8038 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002413/0.2377, allocations: 2.123 MB / 0.8059 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.2392, allocations: 1.299 MB / 0.8071 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.2404, allocations: 0.8562 MB / 0.808 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.2416, allocations: 0.9065 MB / 0.8088 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001967/0.2418, allocations: 116 kB / 0.809 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.244, allocations: 1.181 MB / 0.8101 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005443/0.2445, allocations: 0.5258 MB / 0.8106 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007474/0.2453, allocations: 0.7888 MB / 0.8114 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00276/0.248, allocations: 2.418 MB / 0.8138 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2481, allocations: 4 kB / 0.8138 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2481, allocations: 0 / 0.8138 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.986e-05/0.2481, 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.00273/0.2508, allocations: 1.871 MB / 0.8156 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2509, allocations: 12.03 kB / 0.8156 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002083/0.2511, allocations: 211.4 kB / 0.8158 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004251/0.2554, allocations: 0.6621 MB / 0.8164 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.257, allocations: 1.012 MB / 0.8174 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.518e-05/0.257, allocations: 94.89 kB / 0.8175 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.2572, allocations: 128.3 kB / 0.8176 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.26, allocations: 2.214 MB / 0.8198 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.26, allocations: 7.938 kB / 0.8198 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.2602, allocations: 59.97 kB / 0.8199 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001902/0.2603, allocations: 162.3 kB / 0.82 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.2629, allocations: 1.875 MB / 0.8219 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/0.2735, allocations: 12.44 MB / 0.834 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003939/0.2775, allocations: 1.982 MB / 0.8359 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007633/0.2782, allocations: 0.6049 MB / 0.8365 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.2784, allocations: 98.09 kB / 0.8366 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.2784, allocations: 51.5 kB / 0.8367 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 2.465e-06/0.2785, allocations: 0 / 0.8367 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.005473/0.2839, allocations: 3.698 MB / 0.8403 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.284, allocations: 72.33 kB / 0.8404 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009311/0.2849, allocations: 0.9203 MB / 0.8413 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.285, allocations: 41.7 kB / 0.8413 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004206/0.2854, allocations: 0.7277 MB / 0.842 GB, free: 15.78 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.2857, allocations: 382.5 kB / 0.8424 GB, free: 15.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003683/0.2861, allocations: 287.2 kB / 0.8426 GB, free: 15.11 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/0.2861, allocations: 305.1 kB / 0.8429 GB, free: 14.81 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008298/0.287, allocations: 0.6129 MB / 0.8435 GB, free: 14.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.2881, allocations: 1.106 MB / 0.8446 GB, free: 12.88 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/0.2902, allocations: 1.832 MB / 0.8464 GB, free: 10.83 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.2902, allocations: 4 kB / 0.8464 GB, free: 10.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003087/0.2933, allocations: 2.1 MB / 0.8485 GB, free: 8.691 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.2933, allocations: 12 kB / 0.8485 GB, free: 8.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.2934, allocations: 20.16 kB / 0.8485 GB, free: 8.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007518/0.2941, allocations: 258.6 kB / 0.8487 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.2954, allocations: 375.4 kB / 0.8491 GB, free: 8.016 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00823/0.3036, allocations: 11.58 MB / 0.8604 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.3049, allocations: 131.9 kB / 0.8605 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.305, allocations: 71.98 kB / 0.8606 GB, free: 11.11 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.0005972/0.3056, allocations: 413.7 kB / 0.861 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.3058, allocations: 130.5 kB / 0.8611 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/0.3084, allocations: 1.673 MB / 0.8628 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.3084, allocations: 12 kB / 0.8628 GB, free: 8.855 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.3084, allocations: 4 kB / 0.8628 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.3084, allocations: 7.984 kB / 0.8628 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004674/0.3131, allocations: 3.291 MB / 0.866 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.3131, allocations: 4 kB / 0.866 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008475/0.314, allocations: 219.6 kB / 0.8662 GB, free: 5.188 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006809/0.3147, allocations: 247.3 kB / 0.8664 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-05/0.3147, allocations: 27.94 kB / 0.8665 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00789/0.3226, allocations: 11.57 MB / 0.8778 GB, free: 8.199 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.3227, allocations: 4 kB / 0.8778 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/0.3253, allocations: 1.799 MB / 0.8795 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004802/0.3258, allocations: 311.4 kB / 0.8798 GB, free: 5.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.3259, allocations: 31.94 kB / 0.8799 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007004/0.3266, allocations: 91.86 kB / 0.8799 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.3268, allocations: 100.7 kB / 0.88 GB, free: 5.742 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.434e-05/0.3269, allocations: 36 kB / 0.8801 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007242/0.3276, allocations: 0.6138 MB / 0.8807 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3276, allocations: 0 / 0.8807 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001281/0.3289, allocations: 392 kB / 0.881 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.002713/0.3316, allocations: 2.393 MB / 0.8834 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00328/0.3349, allocations: 2.497 MB / 0.8858 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.335, allocations: 4.25 kB / 0.8858 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001945/0.3369, allocations: 1.629 MB / 0.8874 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.3385, allocations: 356.5 kB / 0.8878 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.3531, allocations: 11.49 MB / 0.899 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008891/0.354, allocations: 1.327 MB / 0.9003 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009373/0.3549, allocations: 355.3 kB / 0.9006 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006439/0.3556, allocations: 0.5383 MB / 0.9011 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/0.3556, allocations: 0 / 0.9011 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.378/0.7336, allocations: 27.92 MB / 0.9284 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.61, allocations: 5.656 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)