Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.848/1.848, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.001117/0.001117, allocations: 178.2 kB / 371.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 0.6305 GB, free: 10.06 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.0008259/0.0008259, allocations: 94.84 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004077, allocations: 14.78 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2069, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004089/0.2111, allocations: 3.64 MB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003133/0.2143, allocations: 2.227 MB / 0.9852 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004947/0.2148, allocations: 19.81 kB / 0.9852 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.2151, allocations: 51.61 kB / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009425/0.2161, allocations: 291 kB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007824/0.2169, allocations: 233.5 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000671/0.2175, allocations: 436.7 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008067/0.2184, allocations: 426.8 kB / 0.9866 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.2187, allocations: 195.2 kB / 0.9868 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004182/0.2191, allocations: 215.1 kB / 0.987 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.775e-05/0.2192, allocations: 16 kB / 0.987 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004202/0.2196, allocations: 183.7 kB / 0.9872 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.2197, allocations: 111.6 kB / 0.9873 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.2198, allocations: 109.5 kB / 0.9874 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.2204, allocations: 0.5028 MB / 0.9879 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.2204, allocations: 0 / 0.9879 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2204, allocations: 0 / 0.9879 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.2204, allocations: 0 / 0.9879 GB, free: 18.97 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.0009727/0.2214, allocations: 0.7052 MB / 0.9886 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.2214, allocations: 12.02 kB / 0.9886 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.391e-05/0.2215, allocations: 86.5 kB / 0.9887 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.2227, allocations: 175.1 kB / 0.9888 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.2233, allocations: 391.5 kB / 0.9892 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.2233, allocations: 25 kB / 0.9892 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-05/0.2234, allocations: 39.92 kB / 0.9893 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.2241, allocations: 0.6429 MB / 0.9899 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.2241, allocations: 7.938 kB / 0.9899 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.985e-05/0.2241, allocations: 15.95 kB / 0.9899 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-05/0.2242, allocations: 47.97 kB / 0.99 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005745/0.2248, allocations: 0.4889 MB / 0.9904 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002487/0.2273, allocations: 3.786 MB / 0.9941 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.2288, allocations: 0.6447 MB / 0.9948 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.2288, allocations: 4 kB / 0.9948 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.2289, allocations: 42.56 kB / 0.9948 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 3.046e-06/0.2289, allocations: 0 / 0.9948 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.002398/0.2313, allocations: 1.274 MB / 0.9961 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.2314, allocations: 110.8 kB / 0.9962 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000449/0.2318, allocations: 397.7 kB / 0.9965 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.2319, allocations: 29.7 kB / 0.9966 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.2321, allocations: 279.5 kB / 0.9968 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.762e-05/0.2322, allocations: 122.3 kB / 0.997 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.2322, allocations: 12 kB / 0.997 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2323, allocations: 350.8 kB / 0.9973 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.2326, allocations: 173 kB / 0.9975 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.2329, allocations: 379.1 kB / 0.9978 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.2333, allocations: 227.8 kB / 0.998 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.2333, allocations: 288 / 0.998 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001066/0.2343, allocations: 0.6752 MB / 0.9987 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.2344, allocations: 8 kB / 0.9987 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.2344, allocations: 7.938 kB / 0.9987 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004559/0.2349, allocations: 102.4 kB / 0.9988 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.2353, allocations: 116.2 kB / 0.9989 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/0.2388, allocations: 4.044 MB / 1.003 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005496/0.2393, allocations: 35.92 kB / 1.003 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.2394, allocations: 24.25 kB / 1.003 GB, free: 2.426 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.000349/0.2398, allocations: 194.7 kB / 1.003 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.2399, allocations: 47.44 kB / 1.003 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008365/0.2408, allocations: 0.5186 MB / 1.004 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.2408, allocations: 8 kB / 1.004 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.2408, allocations: 0 / 1.004 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2408, allocations: 0 / 1.004 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.2426, allocations: 1.287 MB / 1.005 GB, free: 256 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.2426, allocations: 7.891 kB / 1.005 GB, free: 248 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.2429, allocations: 63.89 kB / 1.005 GB, free: 184 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/0.2431, allocations: 94.73 kB / 1.005 GB, free: 80 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.2432, allocations: 11.98 kB / 1.005 GB, free: 68 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003453/0.2466, allocations: 4.044 MB / 1.009 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.2467, allocations: 8.25 kB / 1.009 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.2478, allocations: 0.9017 MB / 1.01 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/0.248, allocations: 152.5 kB / 1.01 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.608e-05/0.2481, allocations: 19.92 kB / 1.01 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.2484, allocations: 19.98 kB / 1.01 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.2485, allocations: 39.84 kB / 1.01 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.2486, allocations: 16 kB / 1.01 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003256/0.2489, allocations: 271.1 kB / 1.01 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2489, allocations: 0 / 1.01 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007548/0.2497, allocations: 124 kB / 1.011 GB, free: 9.949 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.001724/0.2514, allocations: 2.219 MB / 1.013 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.2527, allocations: 0.8054 MB / 1.014 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2527, allocations: 0 / 1.014 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000697/0.2534, allocations: 0.5435 MB / 1.014 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009595/0.2544, allocations: 120.1 kB / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005676/0.2601, allocations: 7.171 MB / 1.021 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.2606, allocations: 0.8664 MB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003263/0.2609, allocations: 108.8 kB / 1.022 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.2612, allocations: 151.4 kB / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of SimCode: time 4.81e-07/0.2612, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.2844, allocations: 9.413 MB / 1.031 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.2846, allocations: 219.1 kB / 1.032 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.118/2.403, allocations: 0 / 1.032 GB, free: 4.113 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)