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.001108/0.001108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001105/0.001105, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.201/1.201, allocations: 205.1 MB / 222 MB, free: 4.762 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.575/1.575, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001296/0.001296, allocations: 69.86 kB / 0.6709 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1662, allocations: 114.5 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01045/0.1767, allocations: 11.03 MB / 0.7936 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006803/0.1835, allocations: 5.883 MB / 0.7993 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003951/0.1839, allocations: 43.69 kB / 0.7994 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003013/0.1869, allocations: 1.626 MB / 0.8009 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.1887, allocations: 1.062 MB / 0.802 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.19, allocations: 0.7478 MB / 0.8027 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002065/0.1921, allocations: 2.852 MB / 0.8055 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.1935, allocations: 1.316 MB / 0.8068 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007892/0.1943, allocations: 0.7507 MB / 0.8075 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000835/0.1951, allocations: 0.9299 MB / 0.8084 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.1953, allocations: 84 kB / 0.8085 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.1972, allocations: 1.458 MB / 0.8099 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003681/0.1976, allocations: 0.4946 MB / 0.8104 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005934/0.1982, allocations: 0.7575 MB / 0.8112 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.2003, allocations: 2.453 MB / 0.8135 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2004, allocations: 0 / 0.8135 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2004, allocations: 0 / 0.8135 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.2004, allocations: 0 / 0.8135 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.002265/0.2027, allocations: 1.871 MB / 0.8154 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.2027, allocations: 8.031 kB / 0.8154 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001886/0.2029, allocations: 211.4 kB / 0.8156 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/0.2069, allocations: 0.6699 MB / 0.8162 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.208, allocations: 0.9106 MB / 0.8171 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-05/0.2081, allocations: 98.89 kB / 0.8172 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.2082, allocations: 132.3 kB / 0.8173 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/0.2107, allocations: 2.198 MB / 0.8195 GB, free: 7.836 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.2107, allocations: 15.88 kB / 0.8195 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.2109, allocations: 59.97 kB / 0.8196 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001685/0.211, allocations: 166.3 kB / 0.8197 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.2134, allocations: 1.863 MB / 0.8215 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008943/0.2224, allocations: 12.48 MB / 0.8337 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003675/0.2261, allocations: 1.964 MB / 0.8357 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007097/0.2268, allocations: 0.6089 MB / 0.8362 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.2269, allocations: 102.1 kB / 0.8363 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.227, allocations: 47.5 kB / 0.8364 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 1.983e-06/0.227, allocations: 0 / 0.8364 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.004891/0.2319, allocations: 3.702 MB / 0.84 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.2319, allocations: 68.41 kB / 0.8401 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008327/0.2327, allocations: 0.9242 MB / 0.841 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.2328, allocations: 45.64 kB / 0.841 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.2332, allocations: 0.7277 MB / 0.8417 GB, free: 15.85 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.2334, allocations: 386.5 kB / 0.8421 GB, free: 15.47 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003338/0.2338, allocations: 287.2 kB / 0.8424 GB, free: 15.18 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.684e-05/0.2338, allocations: 301.1 kB / 0.8427 GB, free: 14.88 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007826/0.2346, allocations: 0.6129 MB / 0.8433 GB, free: 14.27 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.2357, allocations: 1.106 MB / 0.8443 GB, free: 12.95 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.2376, allocations: 1.835 MB / 0.8461 GB, free: 10.89 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.986e-06/0.2376, allocations: 4 kB / 0.8461 GB, free: 10.89 MB / 0.67 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002791/0.2404, allocations: 2.103 MB / 0.8482 GB, free: 8.754 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.2404, allocations: 12 kB / 0.8482 GB, free: 8.742 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.2404, allocations: 20.81 kB / 0.8482 GB, free: 8.723 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006972/0.2411, allocations: 258.6 kB / 0.8485 GB, free: 8.445 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.2422, allocations: 375.4 kB / 0.8488 GB, free: 8.078 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006558/0.2488, allocations: 10.77 MB / 0.8593 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007987/0.2496, allocations: 119.9 kB / 0.8595 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-05/0.2497, allocations: 71.98 kB / 0.8595 GB, free: 12.06 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.0004711/0.2502, allocations: 405.9 kB / 0.8599 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.2503, allocations: 134.4 kB / 0.86 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.2527, allocations: 1.677 MB / 0.8617 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.2527, allocations: 12 kB / 0.8617 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2528, allocations: 0 / 0.8617 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.2528, allocations: 11.97 kB / 0.8617 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004063/0.2568, allocations: 3.292 MB / 0.8649 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.2569, allocations: 4 kB / 0.8649 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007215/0.2576, allocations: 219.6 kB / 0.8651 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006147/0.2582, allocations: 250.6 kB / 0.8654 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/0.2583, allocations: 28 kB / 0.8654 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00642/0.2647, allocations: 10.75 MB / 0.8759 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.2647, allocations: 8 kB / 0.8759 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.2669, allocations: 1.796 MB / 0.8776 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/0.2673, allocations: 303.5 kB / 0.8779 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.2674, allocations: 31.83 kB / 0.878 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005945/0.268, allocations: 103.8 kB / 0.8781 GB, free: 7.652 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.2682, allocations: 88.77 kB / 0.8781 GB, free: 7.566 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/0.2683, allocations: 40 kB / 0.8782 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006209/0.2689, allocations: 0.6177 MB / 0.8788 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2689, allocations: 0 / 0.8788 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001086/0.27, allocations: 396 kB / 0.8792 GB, free: 6.516 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.002434/0.2724, allocations: 2.376 MB / 0.8815 GB, free: 4.02 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002802/0.2752, allocations: 2.493 MB / 0.8839 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2752, allocations: 0 / 0.8839 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001699/0.2769, allocations: 1.629 MB / 0.8855 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.2783, allocations: 327.9 kB / 0.8858 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.2915, allocations: 12.6 MB / 0.8981 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/0.2923, allocations: 1.331 MB / 0.8994 GB, free: 472 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008298/0.2931, allocations: 355.3 kB / 0.8998 GB, free: 112 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000591/0.2937, allocations: 0.5423 MB / 0.9003 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.2937, allocations: 0 / 0.9003 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.746/10.04, allocations: 27.09 MB / 0.9267 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/10.04, allocations: 248.9 kB / 0.927 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/12.47, allocations: 0 / 0.927 GB, free: 126.2 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)