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.001505/0.001505, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 188 kB / 16.62 MB, free: 6.582 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.382/1.382, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.772/1.772, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001597/0.001597, allocations: 67.97 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2079, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006305/0.2143, allocations: 4.301 MB / 0.7878 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003979/0.2183, allocations: 2.421 MB / 0.7902 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003864/0.2187, allocations: 15.88 kB / 0.7902 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.22, allocations: 366.3 kB / 0.7906 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.221, allocations: 366.2 kB / 0.7909 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008594/0.2219, allocations: 323.2 kB / 0.7912 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009222/0.2228, allocations: 0.6828 MB / 0.7919 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004861/0.2233, allocations: 266.2 kB / 0.7921 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.2238, allocations: 251 kB / 0.7924 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.2242, allocations: 270.8 kB / 0.7926 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.973e-05/0.2243, allocations: 28 kB / 0.7927 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008084/0.2251, allocations: 435 kB / 0.7931 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.2253, allocations: 147.5 kB / 0.7932 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002999/0.2256, allocations: 234.7 kB / 0.7934 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.2268, allocations: 0.732 MB / 0.7942 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2269, allocations: 4 kB / 0.7942 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2269, allocations: 0 / 0.7942 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.505e-05/0.2269, allocations: 0 / 0.7942 GB, free: 2.457 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.001534/0.2284, allocations: 0.7832 MB / 0.7949 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.2285, allocations: 12.03 kB / 0.7949 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.2286, allocations: 74.72 kB / 0.795 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.2301, allocations: 184.1 kB / 0.7952 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006672/0.2308, allocations: 440.5 kB / 0.7956 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.2308, allocations: 29.3 kB / 0.7956 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.81e-05/0.2309, allocations: 40.34 kB / 0.7957 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.2319, allocations: 0.6547 MB / 0.7963 GB, free: 64 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.2319, allocations: 11.88 kB / 0.7963 GB, free: 52 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.98e-05/0.232, allocations: 19.98 kB / 0.7963 GB, free: 32 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.322e-05/0.2321, allocations: 51.97 kB / 0.7964 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007917/0.2329, allocations: 0.4942 MB / 0.7969 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/0.2364, allocations: 3.767 MB / 0.8006 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.2381, allocations: 0.6321 MB / 0.8012 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.2383, allocations: 174.5 kB / 0.8013 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.2384, allocations: 4 kB / 0.8013 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.2384, allocations: 42.5 kB / 0.8014 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 1.903e-06/0.2384, allocations: 0 / 0.8014 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002225/0.2407, allocations: 1.288 MB / 0.8026 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.2407, allocations: 106.8 kB / 0.8027 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004826/0.2412, allocations: 401.7 kB / 0.8031 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.2413, allocations: 29.7 kB / 0.8032 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.2415, allocations: 279.5 kB / 0.8034 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.601e-05/0.2416, allocations: 122.3 kB / 0.8035 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.2417, allocations: 98.16 kB / 0.8036 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2419, allocations: 350.8 kB / 0.804 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.2421, allocations: 177 kB / 0.8041 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003842/0.2425, allocations: 375.3 kB / 0.8045 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006959/0.2432, allocations: 0.599 MB / 0.8051 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.2432, allocations: 4 kB / 0.8051 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001125/0.2444, allocations: 0.6668 MB / 0.8057 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.2444, allocations: 8 kB / 0.8057 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.2444, allocations: 8.719 kB / 0.8057 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003791/0.2448, allocations: 98.44 kB / 0.8058 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.2452, allocations: 111.8 kB / 0.8059 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003522/0.2487, allocations: 4.344 MB / 0.8102 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.2492, allocations: 31.91 kB / 0.8102 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.2492, allocations: 24 kB / 0.8102 GB, free: 0.7266 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.0002728/0.2495, allocations: 201.7 kB / 0.8104 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.2497, allocations: 51.42 kB / 0.8105 GB, free: 480 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008624/0.2505, allocations: 0.5114 MB / 0.811 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.2506, allocations: 9.109 kB / 0.811 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2506, allocations: 4 kB / 0.811 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2506, allocations: 3.984 kB / 0.811 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.2524, allocations: 1.287 MB / 0.8123 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.2524, allocations: 4 kB / 0.8123 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.2527, allocations: 59.89 kB / 0.8123 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002878/0.2529, allocations: 90.5 kB / 0.8124 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.253, allocations: 16.28 kB / 0.8124 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003202/0.2562, allocations: 4.337 MB / 0.8167 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.2562, allocations: 7.938 kB / 0.8167 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009456/0.2572, allocations: 0.7903 MB / 0.8174 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.2574, allocations: 152.5 kB / 0.8176 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.715e-05/0.2575, allocations: 8 kB / 0.8176 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.2578, allocations: 23.97 kB / 0.8176 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.2579, allocations: 31.84 kB / 0.8176 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.2579, allocations: 19.98 kB / 0.8177 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002986/0.2582, allocations: 279.1 kB / 0.8179 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2582, allocations: 0 / 0.8179 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006837/0.2589, allocations: 128 kB / 0.818 GB, free: 8.109 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.001175/0.2601, allocations: 1.319 MB / 0.8193 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.2614, allocations: 0.806 MB / 0.8201 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2614, allocations: 0 / 0.8201 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007422/0.2622, allocations: 0.5553 MB / 0.8207 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009535/0.2631, allocations: 133.4 kB / 0.8208 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005507/0.2686, allocations: 4.547 MB / 0.8252 GB, free: 284 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.2692, allocations: 0.8624 MB / 0.8261 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002974/0.2695, allocations: 112.5 kB / 0.8262 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.2697, allocations: 151.4 kB / 0.8263 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of SimCode: time 7.62e-07/0.2697, allocations: 0 / 0.8263 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03527/0.305, allocations: 9.908 MB / 0.836 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.848/10.15, allocations: 10.72 kB / 0.836 GB, free: 5.406 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)