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 2.692/2.692, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001392/0.001392, allocations: 178.7 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.000952/0.0009519, allocations: 94.08 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007649/0.0007652, allocations: 15.45 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2492, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005333/0.2546, allocations: 3.749 MB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004498/0.2592, allocations: 2.27 MB / 0.9843 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000456/0.2597, allocations: 15.88 kB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.26, allocations: 67.38 kB / 0.9844 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.2611, allocations: 282.6 kB / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009236/0.262, allocations: 240.4 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.2631, allocations: 0.7256 MB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.2642, allocations: 422.8 kB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004784/0.2647, allocations: 215 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004319/0.2651, allocations: 259 kB / 0.9865 GB, free: 20 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.868e-05/0.2652, allocations: 16 kB / 0.9865 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007219/0.2659, allocations: 215.6 kB / 0.9867 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.2661, allocations: 127.6 kB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.2662, allocations: 109.5 kB / 0.9869 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007752/0.267, allocations: 0.5301 MB / 0.9874 GB, free: 19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2671, allocations: 0 / 0.9874 GB, free: 19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2671, allocations: 0 / 0.9874 GB, free: 19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.2671, allocations: 0 / 0.9874 GB, free: 19 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.00128/0.2684, allocations: 0.713 MB / 0.9881 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.2684, allocations: 12.02 kB / 0.9882 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.2685, allocations: 78.52 kB / 0.9882 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/0.2705, allocations: 191.1 kB / 0.9884 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007564/0.2713, allocations: 391.4 kB / 0.9888 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.2714, allocations: 29 kB / 0.9888 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.708e-05/0.2714, allocations: 39.92 kB / 0.9888 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.2726, allocations: 0.6429 MB / 0.9895 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.2727, allocations: 7.938 kB / 0.9895 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/0.2727, allocations: 15.98 kB / 0.9895 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.2729, allocations: 55.95 kB / 0.9896 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.2739, allocations: 492.7 kB / 0.99 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003927/0.2778, allocations: 3.782 MB / 0.9937 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/0.2807, allocations: 0.6405 MB / 0.9943 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.2811, allocations: 178.5 kB / 0.9945 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.551e-05/0.2812, allocations: 15.97 kB / 0.9945 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.2812, allocations: 38.5 kB / 0.9946 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 2.885e-06/0.2812, allocations: 0 / 0.9946 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.003199/0.2844, allocations: 1.273 MB / 0.9958 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.2845, allocations: 106.8 kB / 0.9959 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/0.285, allocations: 401.7 kB / 0.9963 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.2851, allocations: 29.7 kB / 0.9963 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.2852, allocations: 271.6 kB / 0.9966 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.963e-05/0.2853, allocations: 126.3 kB / 0.9967 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.2854, allocations: 8 kB / 0.9967 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.2855, allocations: 358.7 kB / 0.997 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.2859, allocations: 173 kB / 0.9972 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.2864, allocations: 367.5 kB / 0.9976 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/0.2869, allocations: 244 kB / 0.9978 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.837e-05/0.2869, allocations: 4 kB / 0.9978 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001567/0.2885, allocations: 0.6707 MB / 0.9985 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.2885, allocations: 8 kB / 0.9985 GB, free: 6.984 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.2886, allocations: 8 kB / 0.9985 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005044/0.2891, allocations: 95.06 kB / 0.9986 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007121/0.2898, allocations: 115.8 kB / 0.9987 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/0.2931, allocations: 4.033 MB / 1.003 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.2938, allocations: 32.19 kB / 1.003 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.2938, allocations: 24 kB / 1.003 GB, free: 2.27 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.0002783/0.2941, allocations: 193.6 kB / 1.003 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.2943, allocations: 47.44 kB / 1.003 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.2956, allocations: 0.5229 MB / 1.003 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2956, allocations: 4 kB / 1.003 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2956, allocations: 0 / 1.003 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.2956, allocations: 7.984 kB / 1.003 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.2979, allocations: 1.276 MB / 1.005 GB, free: 100 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.2979, allocations: 4 kB / 1.005 GB, free: 96 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004512/0.2984, allocations: 63.89 kB / 1.005 GB, free: 32 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/0.2989, allocations: 94.72 kB / 1.005 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.992e-05/0.2989, allocations: 8 kB / 1.005 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004402/0.3033, allocations: 4.025 MB / 1.009 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.3034, allocations: 4 kB / 1.009 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.305, allocations: 0.7817 MB / 1.01 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.3054, allocations: 156.5 kB / 1.01 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.426e-05/0.3055, allocations: 15.94 kB / 1.01 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005013/0.306, allocations: 23.98 kB / 1.01 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.3062, allocations: 35.89 kB / 1.01 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.3062, allocations: 12 kB / 1.01 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004718/0.3067, allocations: 275.1 kB / 1.01 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3067, allocations: 0 / 1.01 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009825/0.3077, allocations: 120 kB / 1.01 GB, free: 10.02 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.001908/0.3096, allocations: 1.332 MB / 1.011 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002002/0.3117, allocations: 0.8015 MB / 1.012 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.3117, allocations: 0 / 1.012 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.3129, allocations: 0.5473 MB / 1.013 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.3143, allocations: 134.3 kB / 1.013 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006361/0.3207, allocations: 2.793 MB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.3214, allocations: 0.8625 MB / 1.016 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005449/0.322, allocations: 100.5 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/0.3223, allocations: 151.4 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of SimCode: time 1.262e-06/0.3223, allocations: 0 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04071/0.363, allocations: 9.435 MB / 1.026 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003186/0.3634, allocations: 215.1 kB / 1.026 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.936/3.299, allocations: 6.594 kB / 1.026 GB, free: 9.516 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)