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.001234/0.001234, 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.001532/0.001532, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.425/1.425, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.731/1.731, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001429/0.001429, allocations: 71.92 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2071, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01307/0.2202, allocations: 11.06 MB / 0.7943 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008767/0.229, allocations: 5.828 MB / 0.8 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009189/0.2299, allocations: 51.62 kB / 0.8 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004146/0.2341, allocations: 1.727 MB / 0.8017 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003032/0.2372, allocations: 1.143 MB / 0.8028 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.2393, allocations: 0.8118 MB / 0.8036 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00233/0.2417, allocations: 2.119 MB / 0.8057 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.2431, allocations: 1.311 MB / 0.807 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.2441, allocations: 0.8446 MB / 0.8078 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009827/0.2451, allocations: 0.9104 MB / 0.8087 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.2453, allocations: 112 kB / 0.8088 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.2473, allocations: 1.169 MB / 0.8099 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005064/0.2478, allocations: 0.5297 MB / 0.8105 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007334/0.2485, allocations: 0.7888 MB / 0.8112 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00259/0.2511, allocations: 2.395 MB / 0.8136 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2511, allocations: 0 / 0.8136 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2511, allocations: 0 / 0.8136 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.894e-05/0.2512, allocations: 0 / 0.8136 GB, free: 14.45 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.00264/0.2538, allocations: 1.86 MB / 0.8154 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2539, allocations: 15.95 kB / 0.8154 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002075/0.2541, allocations: 211.4 kB / 0.8156 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004381/0.2585, allocations: 0.666 MB / 0.8162 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.2599, allocations: 0.9185 MB / 0.8171 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.26, allocations: 94.89 kB / 0.8172 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.2602, allocations: 124.3 kB / 0.8174 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/0.2632, allocations: 2.214 MB / 0.8195 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/0.2632, allocations: 11.88 kB / 0.8195 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.2634, allocations: 59.97 kB / 0.8196 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001891/0.2636, allocations: 162.3 kB / 0.8197 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/0.2662, allocations: 1.871 MB / 0.8216 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.2778, allocations: 12.49 MB / 0.8338 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004302/0.2821, allocations: 1.963 MB / 0.8357 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008928/0.2831, allocations: 0.605 MB / 0.8363 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.2833, allocations: 106.1 kB / 0.8364 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.2833, allocations: 51.48 kB / 0.8364 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 2.795e-06/0.2833, allocations: 0 / 0.8364 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.006018/0.2894, allocations: 3.702 MB / 0.84 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.2894, allocations: 64.41 kB / 0.8401 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.2905, allocations: 0.9203 MB / 0.841 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.597e-05/0.2906, allocations: 45.7 kB / 0.841 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.291, allocations: 0.7236 MB / 0.8417 GB, free: 40 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/0.2914, allocations: 386.7 kB / 0.8421 GB, free: 15.65 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003903/0.2918, allocations: 287.2 kB / 0.8424 GB, free: 15.36 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2919, allocations: 305.1 kB / 0.8427 GB, free: 15.06 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008575/0.2928, allocations: 0.6129 MB / 0.8433 GB, free: 14.45 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.2939, allocations: 1.109 MB / 0.8444 GB, free: 13.12 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.2961, allocations: 1.828 MB / 0.8461 GB, free: 11.08 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.2961, allocations: 8 kB / 0.8462 GB, free: 11.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003233/0.2994, allocations: 2.1 MB / 0.8482 GB, free: 8.938 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.2994, allocations: 14.66 kB / 0.8482 GB, free: 8.926 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.2994, allocations: 16 kB / 0.8482 GB, free: 8.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007854/0.3002, allocations: 262.7 kB / 0.8485 GB, free: 8.629 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.3015, allocations: 371.4 kB / 0.8488 GB, free: 8.266 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008489/0.31, allocations: 11.59 MB / 0.8602 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.3114, allocations: 131.8 kB / 0.8603 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.3115, allocations: 67.98 kB / 0.8603 GB, free: 11.36 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.0006525/0.3122, allocations: 409.9 kB / 0.8607 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.3124, allocations: 126.5 kB / 0.8609 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.3152, allocations: 1.677 MB / 0.8625 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.3152, allocations: 12 kB / 0.8625 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3152, allocations: 3.938 kB / 0.8625 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.3152, allocations: 7.969 kB / 0.8625 GB, free: 9.09 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005013/0.3202, allocations: 3.291 MB / 0.8657 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.3203, allocations: 4 kB / 0.8657 GB, free: 5.648 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008323/0.3211, allocations: 223.6 kB / 0.866 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006821/0.3218, allocations: 247.2 kB / 0.8662 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/0.3219, allocations: 31.94 kB / 0.8662 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00809/0.33, allocations: 11.57 MB / 0.8775 GB, free: 8.438 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.657e-06/0.33, allocations: 15.92 kB / 0.8775 GB, free: 8.422 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.3327, allocations: 1.796 MB / 0.8793 GB, free: 6.516 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005049/0.3332, allocations: 303.4 kB / 0.8796 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.3334, allocations: 31.94 kB / 0.8796 GB, free: 6.168 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007034/0.3341, allocations: 91.86 kB / 0.8797 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.3343, allocations: 100.6 kB / 0.8798 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.926e-05/0.3344, allocations: 36 kB / 0.8798 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007127/0.3351, allocations: 0.6177 MB / 0.8804 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3351, allocations: 0 / 0.8804 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001288/0.3364, allocations: 392 kB / 0.8808 GB, free: 4.938 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.002709/0.3391, allocations: 2.386 MB / 0.8831 GB, free: 2.43 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004119/0.3433, allocations: 2.875 MB / 0.8859 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3433, allocations: 0 / 0.8859 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002049/0.3453, allocations: 1.63 MB / 0.8875 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.347, allocations: 367.1 kB / 0.8879 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/0.3625, allocations: 12.01 MB / 0.8996 GB, free: 420 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008571/0.3634, allocations: 1.327 MB / 0.9009 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001017/0.3644, allocations: 359.3 kB / 0.9012 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006373/0.3651, allocations: 0.5383 MB / 0.9018 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.3651, allocations: 0 / 0.9018 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4137/0.7788, allocations: 27.89 MB / 0.929 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.83, allocations: 16.28 kB / 0.929 GB, free: 131.5 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)