Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009742/0.0009743, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009212/0.0009212, allocations: 192.5 kB / 16.13 MB, free: 6.664 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.15/1.15, 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.613/1.613, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.001329/0.00133, allocations: 65.75 kB / 0.6709 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1985, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005415/0.204, allocations: 4.331 MB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003235/0.2072, allocations: 2.436 MB / 0.7894 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.2074, allocations: 15.88 kB / 0.7894 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009578/0.2084, allocations: 333.6 kB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006086/0.209, allocations: 346.5 kB / 0.7901 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005726/0.2096, allocations: 299.4 kB / 0.7904 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007143/0.2103, allocations: 0.8621 MB / 0.7912 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004188/0.2107, allocations: 258.2 kB / 0.7914 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.211, allocations: 223 kB / 0.7917 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.2113, allocations: 274.8 kB / 0.7919 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.2114, allocations: 20 kB / 0.7919 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007275/0.2121, allocations: 0.5379 MB / 0.7925 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.2122, allocations: 135.5 kB / 0.7926 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.2124, allocations: 222.7 kB / 0.7928 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007131/0.2132, allocations: 0.7553 MB / 0.7935 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2132, allocations: 0 / 0.7935 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.52e-07/0.2132, allocations: 0 / 0.7935 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2132, allocations: 0 / 0.7935 GB, free: 2.879 MB / 0.6075 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.001004/0.2142, allocations: 0.7832 MB / 0.7943 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2142, allocations: 8.031 kB / 0.7943 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.146e-05/0.2143, allocations: 86.69 kB / 0.7944 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.2156, allocations: 180.1 kB / 0.7946 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.2161, allocations: 404.5 kB / 0.795 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.2161, allocations: 21.38 kB / 0.795 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.627e-05/0.2162, allocations: 36.36 kB / 0.795 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008167/0.217, allocations: 0.6585 MB / 0.7957 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.217, allocations: 8 kB / 0.7957 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.2171, allocations: 16 kB / 0.7957 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.158e-05/0.2172, allocations: 55.89 kB / 0.7957 GB, free: 452 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006785/0.2179, allocations: 0.4905 MB / 0.7962 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003045/0.2209, allocations: 3.782 MB / 0.7999 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.2225, allocations: 0.6322 MB / 0.8005 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.2228, allocations: 182.4 kB / 0.8007 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.2228, allocations: 4 kB / 0.8007 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.2229, allocations: 38.56 kB / 0.8007 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 1.373e-06/0.2229, allocations: 3.938 kB / 0.8007 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002084/0.2249, allocations: 1.285 MB / 0.802 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.225, allocations: 106.8 kB / 0.8021 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.2254, allocations: 401.7 kB / 0.8025 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.2254, allocations: 29.7 kB / 0.8025 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.2256, allocations: 279.5 kB / 0.8028 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.583e-05/0.2257, allocations: 118.3 kB / 0.8029 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.2259, allocations: 94.16 kB / 0.803 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.226, allocations: 354.8 kB / 0.8033 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.2263, allocations: 181 kB / 0.8035 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.2267, allocations: 371.2 kB / 0.8038 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006677/0.2273, allocations: 0.5912 MB / 0.8044 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2273, allocations: 7.938 kB / 0.8044 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001002/0.2283, allocations: 0.6669 MB / 0.8051 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.2284, allocations: 8 kB / 0.8051 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.2284, allocations: 11.98 kB / 0.8051 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003531/0.2288, allocations: 103.1 kB / 0.8052 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.2291, allocations: 111.8 kB / 0.8053 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002968/0.2321, allocations: 4.036 MB / 0.8092 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.2324, allocations: 31.97 kB / 0.8093 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.2324, allocations: 24 kB / 0.8093 GB, free: 1.508 MB / 0.6231 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.000223/0.2327, allocations: 193.6 kB / 0.8095 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.2328, allocations: 47.44 kB / 0.8095 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008859/0.2337, allocations: 0.5267 MB / 0.81 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2337, allocations: 4 kB / 0.81 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2337, allocations: 4 kB / 0.81 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2337, allocations: 3.984 kB / 0.8101 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.2354, allocations: 1.284 MB / 0.8113 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2354, allocations: 0 / 0.8113 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.2356, allocations: 67.89 kB / 0.8114 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002437/0.2359, allocations: 90.78 kB / 0.8115 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.2359, allocations: 12 kB / 0.8115 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002819/0.2387, allocations: 4.036 MB / 0.8154 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2387, allocations: 0 / 0.8154 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008274/0.2396, allocations: 0.7859 MB / 0.8162 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.2397, allocations: 152.5 kB / 0.8163 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.2398, allocations: 19.94 kB / 0.8163 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.2401, allocations: 23.97 kB / 0.8164 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.2402, allocations: 31.89 kB / 0.8164 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.2402, allocations: 12 kB / 0.8164 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002636/0.2404, allocations: 279.1 kB / 0.8167 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2405, allocations: 0 / 0.8167 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006022/0.2411, allocations: 127.9 kB / 0.8168 GB, free: 9.219 MB / 0.6387 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.001145/0.2422, allocations: 1.335 MB / 0.8181 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.2434, allocations: 0.7977 MB / 0.8189 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2434, allocations: 0 / 0.8189 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006554/0.244, allocations: 0.5515 MB / 0.8194 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008444/0.2449, allocations: 125.6 kB / 0.8195 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005096/0.25, allocations: 4.752 MB / 0.8242 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.2504, allocations: 0.8586 MB / 0.825 GB, free: 308 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002598/0.2507, allocations: 104.5 kB / 0.8251 GB, free: 204 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.2509, allocations: 155.4 kB / 0.8253 GB, free: 48 kB / 0.6387 GB Notification: Performance of SimCode: time 5.11e-07/0.2509, allocations: 0 / 0.8253 GB, free: 48 kB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.2709, allocations: 9.534 MB / 0.8346 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/0.2711, allocations: 241.9 kB / 0.8348 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.075, allocations: 8 kB / 0.8348 GB, free: 6.434 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)