Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.737/2.737, allocations: 287.3 MB / 302.3 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001632/0.001632, allocations: 187.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.203/2.203, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 89 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005351/0.0005349, allocations: 13.12 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2584, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005126/0.2636, allocations: 3.64 MB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004066/0.2677, allocations: 2.235 MB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.268, allocations: 15.81 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.2682, allocations: 51.61 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009438/0.2692, allocations: 295.1 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008344/0.27, allocations: 227.5 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006537/0.2707, allocations: 432.7 kB / 0.985 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009017/0.2716, allocations: 424.1 kB / 0.9854 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/0.272, allocations: 195.2 kB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004099/0.2724, allocations: 215.1 kB / 0.9858 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.2725, allocations: 16 kB / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005029/0.273, allocations: 175.7 kB / 0.986 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.2732, allocations: 115.6 kB / 0.9861 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.2733, allocations: 109.5 kB / 0.9862 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000691/0.274, allocations: 0.4989 MB / 0.9867 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.274, allocations: 4 kB / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.274, allocations: 0 / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.274, allocations: 0 / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00119/0.2752, allocations: 0.7052 MB / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.2753, allocations: 12.02 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.497e-05/0.2754, allocations: 82.47 kB / 0.9875 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/0.2771, allocations: 187.1 kB / 0.9876 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00067/0.2778, allocations: 387.5 kB / 0.988 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.2778, allocations: 28.94 kB / 0.988 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-05/0.2779, allocations: 35.97 kB / 0.9881 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.279, allocations: 0.6429 MB / 0.9887 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.279, allocations: 11.94 kB / 0.9887 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/0.2791, allocations: 15.98 kB / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.2792, allocations: 51.95 kB / 0.9888 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.2803, allocations: 0.4889 MB / 0.9893 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003739/0.284, allocations: 3.786 MB / 0.993 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.2868, allocations: 0.6325 MB / 0.9936 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.2869, allocations: 7.984 kB / 0.9936 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.2869, allocations: 38.56 kB / 0.9936 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 3.136e-06/0.2869, allocations: 0 / 0.9936 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.00304/0.29, allocations: 1.274 MB / 0.9949 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.29, allocations: 114.8 kB / 0.995 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.2905, allocations: 393.7 kB / 0.9954 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.2906, allocations: 29.7 kB / 0.9954 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.2907, allocations: 287.5 kB / 0.9957 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.155e-05/0.2909, allocations: 118.3 kB / 0.9958 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.2909, allocations: 8 kB / 0.9958 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.291, allocations: 354.8 kB / 0.9961 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.2914, allocations: 173 kB / 0.9963 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/0.2919, allocations: 379.2 kB / 0.9966 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/0.2924, allocations: 231.7 kB / 0.9969 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2924, allocations: 4 kB / 0.9969 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001484/0.2939, allocations: 0.6633 MB / 0.9975 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.2939, allocations: 8 kB / 0.9975 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.2939, allocations: 8 kB / 0.9975 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004978/0.2945, allocations: 107.2 kB / 0.9976 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006933/0.2952, allocations: 111.8 kB / 0.9977 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00327/0.2984, allocations: 4.057 MB / 1.002 GB, free: 3.145 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/0.299, allocations: 31.97 kB / 1.002 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/0.2991, allocations: 24 kB / 1.002 GB, free: 3.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002799/0.2994, allocations: 193.6 kB / 1.002 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.2995, allocations: 47.44 kB / 1.002 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.3008, allocations: 0.5187 MB / 1.002 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3008, allocations: 4 kB / 1.002 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3008, allocations: 0 / 1.002 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.3008, allocations: 11.97 kB / 1.003 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.3032, allocations: 1.276 MB / 1.004 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3032, allocations: 4 kB / 1.004 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.3036, allocations: 59.89 kB / 1.004 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004178/0.3041, allocations: 98.72 kB / 1.004 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.3041, allocations: 11.94 kB / 1.004 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004372/0.3085, allocations: 4.044 MB / 1.008 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.3085, allocations: 7.938 kB / 1.008 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.3102, allocations: 0.9054 MB / 1.009 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002907/0.3105, allocations: 156.5 kB / 1.009 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.567e-05/0.3106, allocations: 16.22 kB / 1.009 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004979/0.3111, allocations: 23.92 kB / 1.009 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3112, allocations: 27.97 kB / 1.009 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.3112, allocations: 15.94 kB / 1.009 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004676/0.3117, allocations: 275.1 kB / 1.009 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3117, allocations: 0 / 1.009 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009638/0.3127, allocations: 124 kB / 1.009 GB, free: 10.62 MB / 0.6355 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002196/0.3149, allocations: 2.211 MB / 1.012 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001934/0.3169, allocations: 0.8014 MB / 1.012 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3169, allocations: 0 / 1.012 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.3181, allocations: 0.5513 MB / 1.013 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.3192, allocations: 118.3 kB / 1.013 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008308/0.3275, allocations: 7.164 MB / 1.02 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006691/0.3282, allocations: 0.8703 MB / 1.021 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005763/0.3288, allocations: 104.5 kB / 1.021 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.3292, allocations: 147.4 kB / 1.021 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.173e-06/0.3292, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04931/0.3785, allocations: 9.419 MB / 1.03 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002799/0.3788, allocations: 210.7 kB / 1.03 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.97/3.348, allocations: 3.938 kB / 1.03 GB, free: 4.801 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)