Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 1.564/1.564, allocations: 287.4 MB / 302.5 MB, free: 8.32 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.001029/0.001029, allocations: 179.4 kB / 371.1 MB, free: 10.84 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.36/1.36, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007751/0.0007749, allocations: 93.17 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003641, allocations: 10.67 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2135, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004504/0.218, allocations: 3.757 MB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004197/0.2223, allocations: 2.266 MB / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003754/0.2227, allocations: 15.88 kB / 0.9846 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.223, allocations: 67.36 kB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.2241, allocations: 278.6 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008655/0.225, allocations: 236.8 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008425/0.2258, allocations: 0.7451 MB / 0.9859 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009264/0.2268, allocations: 447.1 kB / 0.9863 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.2272, allocations: 223 kB / 0.9866 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.2276, allocations: 251 kB / 0.9868 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.639e-05/0.2277, allocations: 16 kB / 0.9868 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005666/0.2282, allocations: 215.6 kB / 0.987 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.2284, allocations: 127.6 kB / 0.9871 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.2285, allocations: 109.5 kB / 0.9872 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006282/0.2291, allocations: 0.5337 MB / 0.9878 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2292, allocations: 4 kB / 0.9878 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2292, allocations: 0 / 0.9878 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.2292, allocations: 0 / 0.9878 GB, free: 18.78 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.001168/0.2304, allocations: 0.7015 MB / 0.9885 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.2304, allocations: 8.031 kB / 0.9885 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.415e-05/0.2305, allocations: 78.7 kB / 0.9885 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.2323, allocations: 192.1 kB / 0.9887 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006082/0.2329, allocations: 404.5 kB / 0.9891 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.233, allocations: 29.3 kB / 0.9891 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.81e-05/0.2331, allocations: 36.31 kB / 0.9892 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.2341, allocations: 0.6508 MB / 0.9898 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/0.2341, allocations: 7.938 kB / 0.9898 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/0.2342, allocations: 19.98 kB / 0.9898 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.645e-05/0.2343, allocations: 55.95 kB / 0.9899 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009144/0.2352, allocations: 0.4889 MB / 0.9904 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.2385, allocations: 3.778 MB / 0.9941 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.2407, allocations: 0.6399 MB / 0.9947 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.2409, allocations: 170.5 kB / 0.9948 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.241, allocations: 7.984 kB / 0.9948 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.241, allocations: 38.5 kB / 0.9949 GB, free: 11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 4.358e-06/0.241, allocations: 0 / 0.9949 GB, free: 11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.002851/0.2439, allocations: 1.273 MB / 0.9961 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.2439, allocations: 106.8 kB / 0.9962 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004784/0.2444, allocations: 405.7 kB / 0.9966 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.2445, allocations: 29.7 kB / 0.9966 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.2447, allocations: 279.5 kB / 0.9969 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.503e-05/0.2448, allocations: 126.2 kB / 0.997 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.2448, allocations: 8 kB / 0.997 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.2449, allocations: 350.8 kB / 0.9974 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.2452, allocations: 173 kB / 0.9975 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/0.2457, allocations: 375.3 kB / 0.9979 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008197/0.2465, allocations: 0.595 MB / 0.9985 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2466, allocations: 8 kB / 0.9985 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001315/0.2479, allocations: 0.6671 MB / 0.9991 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.2479, allocations: 8 kB / 0.9991 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.2479, allocations: 8 kB / 0.9992 GB, free: 6.309 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004244/0.2484, allocations: 102.8 kB / 0.9992 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/0.249, allocations: 111.8 kB / 0.9994 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002989/0.252, allocations: 4.028 MB / 1.003 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/0.2525, allocations: 31.97 kB / 1.003 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.2526, allocations: 29.09 kB / 1.003 GB, free: 1.598 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.0002794/0.2528, allocations: 197.5 kB / 1.004 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.253, allocations: 47.44 kB / 1.004 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.2541, allocations: 0.5224 MB / 1.004 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2541, allocations: 4 kB / 1.004 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2541, allocations: 0 / 1.004 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2541, allocations: 3.984 kB / 1.004 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.2564, allocations: 1.28 MB / 1.005 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2564, allocations: 0 / 1.005 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.2568, allocations: 67.89 kB / 1.005 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003846/0.2572, allocations: 90.73 kB / 1.006 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.2573, allocations: 15.92 kB / 1.006 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004002/0.2613, allocations: 4.021 MB / 1.009 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/0.2613, allocations: 8 kB / 1.009 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.2627, allocations: 0.7735 MB / 1.01 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.263, allocations: 152.5 kB / 1.01 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.507e-05/0.2631, allocations: 19.88 kB / 1.01 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.2635, allocations: 23.97 kB / 1.01 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.2636, allocations: 31.97 kB / 1.01 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.2637, allocations: 11.98 kB / 1.01 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004062/0.2641, allocations: 279.1 kB / 1.011 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2641, allocations: 0 / 1.011 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001019/0.2651, allocations: 123.9 kB / 1.011 GB, free: 9.348 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.001627/0.2668, allocations: 1.332 MB / 1.012 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.2685, allocations: 0.8053 MB / 1.013 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2685, allocations: 0 / 1.013 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009692/0.2695, allocations: 0.5437 MB / 1.013 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.271, allocations: 125.9 kB / 1.014 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00579/0.2768, allocations: 2.798 MB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/0.2775, allocations: 0.8702 MB / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005037/0.278, allocations: 100.5 kB / 1.017 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.2783, allocations: 143.4 kB / 1.017 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/0.2783, allocations: 0 / 1.017 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4661/0.7444, allocations: 9.432 MB / 1.027 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002803/0.7448, allocations: 222.2 kB / 1.027 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.904, allocations: 0 / 1.027 GB, free: 8.855 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)