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.651/1.651, allocations: 288.4 MB / 303.3 MB, free: 8.102 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.001478/0.001478, allocations: 172.5 kB / 371.9 MB, free: 10.28 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.663/1.663, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0009023/0.0009023, allocations: 103.8 kB / 0.7441 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004024, allocations: 10.94 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2335, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003659/0.2372, allocations: 3.745 MB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002966/0.2402, allocations: 2.266 MB / 0.9855 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000288/0.2406, allocations: 15.88 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.2408, allocations: 67.42 kB / 0.9856 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007309/0.2416, allocations: 286.5 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.2421, allocations: 232.7 kB / 0.9861 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004797/0.2426, allocations: 0.7334 MB / 0.9868 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006792/0.2433, allocations: 420.6 kB / 0.9872 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.2436, allocations: 219 kB / 0.9874 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.2439, allocations: 254.9 kB / 0.9877 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.2439, allocations: 16 kB / 0.9877 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.2444, allocations: 211.7 kB / 0.9879 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.2445, allocations: 131.6 kB / 0.988 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.646e-05/0.2446, allocations: 113.4 kB / 0.9881 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004123/0.245, allocations: 0.5301 MB / 0.9886 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.245, allocations: 0 / 0.9886 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.783e-06/0.245, allocations: 0 / 0.9886 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.245, allocations: 0 / 0.9886 GB, free: 18.3 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.0009005/0.2459, allocations: 0.7091 MB / 0.9893 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.246, allocations: 16 kB / 0.9893 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.219e-05/0.2461, allocations: 78.53 kB / 0.9894 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.2472, allocations: 191 kB / 0.9896 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.2477, allocations: 391.5 kB / 0.99 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.2477, allocations: 24.98 kB / 0.99 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.2478, allocations: 28 kB / 0.99 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006711/0.2484, allocations: 0.6507 MB / 0.9907 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.2485, allocations: 7.938 kB / 0.9907 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.2485, allocations: 19.94 kB / 0.9907 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-05/0.2486, allocations: 55.95 kB / 0.9907 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005705/0.2491, allocations: 497.1 kB / 0.9912 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.2514, allocations: 3.782 MB / 0.9949 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.2529, allocations: 0.6406 MB / 0.9955 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.2531, allocations: 182.4 kB / 0.9957 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.2531, allocations: 4 kB / 0.9957 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.2531, allocations: 38.56 kB / 0.9957 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 1.462e-06/0.2531, allocations: 0 / 0.9957 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.001839/0.255, allocations: 1.277 MB / 0.997 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.255, allocations: 106.8 kB / 0.9971 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.2553, allocations: 397.8 kB / 0.9975 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.2554, allocations: 37.64 kB / 0.9975 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.2555, allocations: 275.5 kB / 0.9978 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.877e-05/0.2555, allocations: 122.3 kB / 0.9979 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.2556, allocations: 8 kB / 0.9979 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.2556, allocations: 362.8 kB / 0.9982 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.2558, allocations: 169 kB / 0.9984 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.2561, allocations: 375.1 kB / 0.9988 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.2564, allocations: 236.1 kB / 0.999 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2564, allocations: 0 / 0.999 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008446/0.2573, allocations: 0.6751 MB / 0.9996 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.2573, allocations: 8 kB / 0.9997 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.2573, allocations: 8 kB / 0.9997 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003432/0.2577, allocations: 98.44 kB / 0.9998 GB, free: 6.168 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.258, allocations: 107.8 kB / 0.9999 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.2601, allocations: 4.029 MB / 1.004 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.2605, allocations: 31.92 kB / 1.004 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.2605, allocations: 24 kB / 1.004 GB, free: 1.574 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.000203/0.2607, allocations: 197.8 kB / 1.004 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.2608, allocations: 51.42 kB / 1.004 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007927/0.2616, allocations: 0.5112 MB / 1.005 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2617, allocations: 4 kB / 1.005 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2617, allocations: 4 kB / 1.005 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2617, allocations: 7.984 kB / 1.005 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.2632, allocations: 1.279 MB / 1.006 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2632, allocations: 4.281 kB / 1.006 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.2635, allocations: 59.89 kB / 1.006 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000252/0.2637, allocations: 90.5 kB / 1.006 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.2638, allocations: 16.22 kB / 1.006 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/0.2666, allocations: 4.024 MB / 1.01 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.2666, allocations: 4 kB / 1.01 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000883/0.2675, allocations: 0.7777 MB / 1.011 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.2677, allocations: 156.5 kB / 1.011 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.2677, allocations: 8 kB / 1.011 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.268, allocations: 27.92 kB / 1.011 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.2681, allocations: 31.91 kB / 1.011 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.2681, allocations: 16 kB / 1.011 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002807/0.2684, allocations: 271.1 kB / 1.011 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2684, allocations: 0 / 1.011 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006298/0.2691, allocations: 124 kB / 1.011 GB, free: 9.328 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.001162/0.2702, allocations: 1.346 MB / 1.013 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.2714, allocations: 0.7979 MB / 1.013 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2714, allocations: 256 / 1.013 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006693/0.2721, allocations: 0.5466 MB / 1.014 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008248/0.273, allocations: 136.4 kB / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.277, allocations: 2.805 MB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.2774, allocations: 0.8586 MB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003351/0.2777, allocations: 108.8 kB / 1.018 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.2779, allocations: 155.4 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.2779, allocations: 0 / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.3041, allocations: 9.41 MB / 1.027 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.3044, allocations: 244.6 kB / 1.027 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/2.536, allocations: 7.875 kB / 1.027 GB, free: 8.785 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)