Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.388/1.388, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 179.7 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009571/0.0009573, allocations: 90.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 9.094 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2743, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003669/0.278, allocations: 3.644 MB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002738/0.2808, allocations: 2.227 MB / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.2811, allocations: 19.81 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.2813, allocations: 59.61 kB / 0.906 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006538/0.2819, allocations: 287.1 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005651/0.2825, allocations: 234.5 kB / 0.9065 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.283, allocations: 436.7 kB / 0.9069 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006643/0.2837, allocations: 422.8 kB / 0.9073 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.2839, allocations: 211.2 kB / 0.9075 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.2842, allocations: 203.1 kB / 0.9077 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.2842, allocations: 16 kB / 0.9077 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.2846, allocations: 187.7 kB / 0.9079 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.119e-05/0.2847, allocations: 111.7 kB / 0.908 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.078e-05/0.2847, allocations: 105.5 kB / 0.9081 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.2852, allocations: 0.5067 MB / 0.9086 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2852, allocations: 0 / 0.9086 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2852, allocations: 4 kB / 0.9086 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2852, allocations: 0 / 0.9086 GB, free: 55.18 MB / 0.6042 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.0009342/0.2862, allocations: 0.6994 MB / 0.9093 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.2862, allocations: 12.03 kB / 0.9093 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.288e-05/0.2863, allocations: 70.53 kB / 0.9093 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.2875, allocations: 187.1 kB / 0.9095 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.288, allocations: 391.5 kB / 0.9099 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.288, allocations: 24.98 kB / 0.9099 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.2881, allocations: 39.92 kB / 0.91 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000734/0.2888, allocations: 0.6429 MB / 0.9106 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.2889, allocations: 3.938 kB / 0.9106 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.2889, allocations: 19.98 kB / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.788e-05/0.289, allocations: 51.97 kB / 0.9107 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005728/0.2896, allocations: 499.3 kB / 0.9111 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.292, allocations: 3.786 MB / 0.9148 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.2934, allocations: 0.6331 MB / 0.9154 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.2935, allocations: 15.98 kB / 0.9155 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.2935, allocations: 34.55 kB / 0.9155 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 2.144e-06/0.2935, allocations: 0 / 0.9155 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.00194/0.2954, allocations: 1.28 MB / 0.9167 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.2955, allocations: 106.8 kB / 0.9168 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.2958, allocations: 397.8 kB / 0.9172 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.2958, allocations: 33.7 kB / 0.9173 GB, free: 45.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.2959, allocations: 271.5 kB / 0.9175 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.633e-05/0.296, allocations: 122.4 kB / 0.9176 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.296, allocations: 12 kB / 0.9176 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.2961, allocations: 350.8 kB / 0.918 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.2963, allocations: 174.7 kB / 0.9181 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.2966, allocations: 375.2 kB / 0.9185 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.2969, allocations: 243.7 kB / 0.9187 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2969, allocations: 0 / 0.9187 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008089/0.2977, allocations: 0.6673 MB / 0.9194 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2978, allocations: 8 kB / 0.9194 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.2978, allocations: 8 kB / 0.9194 GB, free: 43.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003151/0.2981, allocations: 99.02 kB / 0.9195 GB, free: 43.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.2984, allocations: 111.8 kB / 0.9196 GB, free: 43.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.3007, allocations: 4.056 MB / 0.9236 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.301, allocations: 32.3 kB / 0.9236 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.301, allocations: 27.98 kB / 0.9236 GB, free: 38.64 MB / 0.6042 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.00019/0.3012, allocations: 193.6 kB / 0.9238 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.905e-05/0.3013, allocations: 47.44 kB / 0.9238 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007048/0.302, allocations: 0.5185 MB / 0.9244 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.302, allocations: 4 kB / 0.9244 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3021, allocations: 4 kB / 0.9244 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3021, allocations: 0 / 0.9244 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.3035, allocations: 1.283 MB / 0.9256 GB, free: 36.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.3035, allocations: 4 kB / 0.9256 GB, free: 36.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.3037, allocations: 63.89 kB / 0.9257 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002307/0.304, allocations: 94.73 kB / 0.9258 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.304, allocations: 12 kB / 0.9258 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.3062, allocations: 4.052 MB / 0.9297 GB, free: 31.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3062, allocations: 3.938 kB / 0.9297 GB, free: 31.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007582/0.3069, allocations: 0.8938 MB / 0.9306 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.3071, allocations: 156.5 kB / 0.9308 GB, free: 30.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.3072, allocations: 8 kB / 0.9308 GB, free: 30.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.3075, allocations: 31.92 kB / 0.9308 GB, free: 30.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.3075, allocations: 31.91 kB / 0.9308 GB, free: 30.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.3075, allocations: 12 kB / 0.9308 GB, free: 30.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002191/0.3078, allocations: 283.1 kB / 0.9311 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3078, allocations: 0 / 0.9311 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006405/0.3084, allocations: 120 kB / 0.9312 GB, free: 30.18 MB / 0.6042 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.001149/0.3096, allocations: 2.211 MB / 0.9334 GB, free: 27.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009858/0.3106, allocations: 0.8054 MB / 0.9342 GB, free: 27.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3106, allocations: 4 kB / 0.9342 GB, free: 27.01 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005647/0.3112, allocations: 0.5397 MB / 0.9347 GB, free: 26.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.3118, allocations: 126.3 kB / 0.9348 GB, free: 26.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.3158, allocations: 7.16 MB / 0.9418 GB, free: 18.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.3161, allocations: 0.8703 MB / 0.9427 GB, free: 18.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002778/0.3163, allocations: 112.8 kB / 0.9428 GB, free: 17.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.3165, allocations: 151.4 kB / 0.9429 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of SimCode: time 1.493e-06/0.3165, allocations: 0 / 0.9429 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.3376, allocations: 9.404 MB / 0.9521 GB, free: 8.602 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.3379, allocations: 227.4 kB / 0.9523 GB, free: 8.355 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.235/2.573, allocations: 8 kB / 0.9523 GB, free: 8.348 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)