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.391/1.391, allocations: 252 MB / 267.3 MB, free: 10.85 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.001153/0.001153, allocations: 166.7 kB / 327 MB, free: 2.102 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.949/1.949, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0009253/0.0009254, allocations: 96.41 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003694, allocations: 9.562 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2579, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004919/0.2629, allocations: 3.934 MB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004326/0.2673, allocations: 2.405 MB / 0.9071 GB, free: 57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006494/0.268, allocations: 11.88 kB / 0.9071 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.2684, allocations: 67.42 kB / 0.9072 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.2699, allocations: 346.4 kB / 0.9075 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.271, allocations: 306.2 kB / 0.9078 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001258/0.2723, allocations: 0.8621 MB / 0.9087 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.2734, allocations: 450.8 kB / 0.9091 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006303/0.2741, allocations: 223 kB / 0.9093 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006349/0.2747, allocations: 270.8 kB / 0.9096 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.96e-05/0.2748, allocations: 16 kB / 0.9096 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.2759, allocations: 0.5262 MB / 0.9101 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.2761, allocations: 131.6 kB / 0.9102 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.2764, allocations: 244.4 kB / 0.9104 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.2776, allocations: 0.7399 MB / 0.9112 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.2777, allocations: 0 / 0.9112 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.316e-06/0.2777, allocations: 0 / 0.9112 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.908e-05/0.2777, allocations: 3.938 kB / 0.9112 GB, free: 52.8 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.001491/0.2792, allocations: 0.7092 MB / 0.9119 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.2793, allocations: 12.03 kB / 0.9119 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/0.2794, allocations: 78.7 kB / 0.912 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.281, allocations: 184.1 kB / 0.9121 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.2816, allocations: 404.5 kB / 0.9125 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.2817, allocations: 29.36 kB / 0.9125 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.2817, allocations: 36.36 kB / 0.9126 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008698/0.2826, allocations: 0.6546 MB / 0.9132 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.2827, allocations: 7.984 kB / 0.9132 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.2827, allocations: 12 kB / 0.9132 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.42e-05/0.2828, allocations: 55.91 kB / 0.9133 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000694/0.2835, allocations: 491.4 kB / 0.9138 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002944/0.2864, allocations: 3.798 MB / 0.9175 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.288, allocations: 0.6283 MB / 0.9181 GB, free: 45.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.2882, allocations: 182.4 kB / 0.9183 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.2882, allocations: 4 kB / 0.9183 GB, free: 45.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.2882, allocations: 42.5 kB / 0.9183 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 2.966e-06/0.2883, allocations: 3.984 kB / 0.9183 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.002/0.2903, allocations: 1.285 MB / 0.9196 GB, free: 43.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.2903, allocations: 110.8 kB / 0.9197 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.2906, allocations: 389.8 kB / 0.92 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.2907, allocations: 33.7 kB / 0.9201 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.2908, allocations: 287.4 kB / 0.9203 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.2909, allocations: 114.4 kB / 0.9204 GB, free: 42.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.2909, allocations: 12 kB / 0.9205 GB, free: 42.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.291, allocations: 350.8 kB / 0.9208 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.2912, allocations: 177 kB / 0.921 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.2915, allocations: 379.2 kB / 0.9213 GB, free: 41.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000547/0.2921, allocations: 0.595 MB / 0.9219 GB, free: 41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2921, allocations: 4 kB / 0.9219 GB, free: 41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008639/0.293, allocations: 0.6635 MB / 0.9226 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.293, allocations: 15.25 kB / 0.9226 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.293, allocations: 8 kB / 0.9226 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003305/0.2933, allocations: 102.4 kB / 0.9227 GB, free: 40.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.2937, allocations: 111.8 kB / 0.9228 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.2962, allocations: 4.036 MB / 0.9267 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.2965, allocations: 31.97 kB / 0.9268 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.2965, allocations: 24 kB / 0.9268 GB, free: 35.59 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002186/0.2968, allocations: 197.7 kB / 0.927 GB, free: 35.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.434e-05/0.2969, allocations: 47.44 kB / 0.927 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007406/0.2976, allocations: 0.5152 MB / 0.9275 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2976, allocations: 4 kB / 0.9275 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2976, allocations: 0 / 0.9275 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.2976, allocations: 7.984 kB / 0.9275 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.2991, allocations: 1.288 MB / 0.9288 GB, free: 33.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2991, allocations: 4 kB / 0.9288 GB, free: 33.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.2993, allocations: 67.89 kB / 0.9289 GB, free: 33.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002456/0.2996, allocations: 82.5 kB / 0.9289 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.2996, allocations: 12 kB / 0.9289 GB, free: 33.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.3019, allocations: 4.028 MB / 0.9329 GB, free: 28.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3019, allocations: 4 kB / 0.9329 GB, free: 28.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007418/0.3026, allocations: 0.7776 MB / 0.9336 GB, free: 27.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.3028, allocations: 156.4 kB / 0.9338 GB, free: 27.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.3028, allocations: 19.92 kB / 0.9338 GB, free: 27.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.3031, allocations: 19.98 kB / 0.9338 GB, free: 27.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.3032, allocations: 39.89 kB / 0.9339 GB, free: 27.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.3032, allocations: 8 kB / 0.9339 GB, free: 27.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002452/0.3035, allocations: 283.1 kB / 0.9341 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3035, allocations: 0 / 0.9341 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006588/0.3041, allocations: 123.9 kB / 0.9343 GB, free: 27.32 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0009466/0.3051, allocations: 1.331 MB / 0.9356 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.3062, allocations: 0.8014 MB / 0.9363 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3062, allocations: 1 kB / 0.9363 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005615/0.3068, allocations: 0.5512 MB / 0.9369 GB, free: 24.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009831/0.3078, allocations: 140.8 kB / 0.937 GB, free: 24.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004609/0.3124, allocations: 4.765 MB / 0.9417 GB, free: 19.26 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.3127, allocations: 0.8625 MB / 0.9425 GB, free: 18.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003096/0.3131, allocations: 104.5 kB / 0.9426 GB, free: 18.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.3132, allocations: 151.4 kB / 0.9428 GB, free: 18.12 MB / 0.6042 GB Notification: Performance of SimCode: time 7.71e-07/0.3133, allocations: 4 kB / 0.9428 GB, free: 18.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.3358, allocations: 9.404 MB / 0.9519 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.336, allocations: 253.8 kB / 0.9522 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/2.783, allocations: 4 kB / 0.9522 GB, free: 8.676 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)