Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",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.72/2.72, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001637/0.001637, allocations: 193.4 kB / 370.8 MB, free: 10.85 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.261/2.261, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001293/0.001293, allocations: 94.58 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004913, allocations: 12.44 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2487, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003415/0.2521, allocations: 2.232 MB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002591/0.2548, allocations: 1.334 MB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.255, allocations: 0 / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.2551, allocations: 23.84 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004364/0.2556, allocations: 91.66 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.2561, allocations: 145.2 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.2564, allocations: 119.8 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005261/0.2569, allocations: 226.2 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.2571, allocations: 59.83 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.2573, allocations: 75.67 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.2574, allocations: 4 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002997/0.2577, allocations: 103.8 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.369e-05/0.2578, allocations: 55.83 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.2578, allocations: 49.64 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.2582, allocations: 211.4 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2582, allocations: 0 / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.484e-06/0.2582, allocations: 4 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.2582, allocations: 0 / 0.9829 GB, free: 23.52 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006685/0.2589, allocations: 435.1 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.2589, allocations: 8.031 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.974e-05/0.259, allocations: 54.55 kB / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007925/0.2598, allocations: 79.53 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.2601, allocations: 222.8 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.2602, allocations: 4.281 kB / 0.9837 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.2602, allocations: 27.83 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.2608, allocations: 275.7 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.2608, allocations: 0 / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.2608, allocations: 8 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.2609, allocations: 20.22 kB / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.2614, allocations: 208.4 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.2635, allocations: 1.572 MB / 0.9857 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.2641, allocations: 331.2 kB / 0.986 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.2641, allocations: 0 / 0.986 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.2641, allocations: 30.56 kB / 0.9861 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.823e-06/0.2641, allocations: 0 / 0.9861 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0007099/0.2648, allocations: 236.6 kB / 0.9863 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.2649, allocations: 77.11 kB / 0.9864 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.2651, allocations: 203.5 kB / 0.9866 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.2652, allocations: 33.7 kB / 0.9866 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.2653, allocations: 155.8 kB / 0.9867 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.2653, allocations: 35.48 kB / 0.9868 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.611e-05/0.2653, allocations: 4 kB / 0.9868 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.834e-05/0.2654, allocations: 326.8 kB / 0.9871 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.2656, allocations: 79.77 kB / 0.9872 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.2658, allocations: 144.4 kB / 0.9873 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.266, allocations: 99.89 kB / 0.9874 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.266, allocations: 0 / 0.9874 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005353/0.2665, allocations: 257.4 kB / 0.9876 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002394/0.2668, allocations: 1.138 MB / 0.9888 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2668, allocations: 4 kB / 0.9888 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.2669, allocations: 4 kB / 0.9888 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/0.2673, allocations: 51.91 kB / 0.9888 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.2673, allocations: 15.92 kB / 0.9888 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.2676, allocations: 20.09 kB / 0.9888 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.2677, allocations: 15.98 kB / 0.9889 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.2677, allocations: 5.719 kB / 0.9889 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004161/0.2681, allocations: 188 kB / 0.989 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2681, allocations: 8.047 kB / 0.989 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.2681, allocations: 11.95 kB / 0.9891 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.2684, allocations: 43.92 kB / 0.9891 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2685, allocations: 11.92 kB / 0.9891 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.2687, allocations: 11.91 kB / 0.9891 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2687, allocations: 8 kB / 0.9891 GB, free: 16.61 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001723/0.2689, allocations: 225 kB / 0.9893 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/0.2689, allocations: 11.91 kB / 0.9894 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.2693, allocations: 151.3 kB / 0.9895 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2693, allocations: 4 kB / 0.9895 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.2693, allocations: 0 / 0.9895 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2693, allocations: 0 / 0.9895 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.2705, allocations: 0.7196 MB / 0.9902 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.2706, allocations: 0 / 0.9902 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.2708, allocations: 31.92 kB / 0.9902 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.2708, allocations: 4 kB / 0.9902 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.2708, allocations: 4 kB / 0.9902 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.2708, allocations: 4 kB / 0.9903 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.2708, allocations: 8.359 kB / 0.9903 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.2712, allocations: 0.4915 MB / 0.9907 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.2714, allocations: 104.9 kB / 0.9908 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.2714, allocations: 4 kB / 0.9908 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.2717, allocations: 11.98 kB / 0.9909 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.2717, allocations: 15.98 kB / 0.9909 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.2718, allocations: 8 kB / 0.9909 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001485/0.2719, allocations: 148.8 kB / 0.991 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2719, allocations: 0 / 0.991 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007293/0.2727, allocations: 68 kB / 0.9911 GB, free: 14.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007486/0.2734, allocations: 1.728 MB / 0.9928 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000612/0.2741, allocations: 260.9 kB / 0.993 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.2741, allocations: 0 / 0.993 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.2742, allocations: 64.34 kB / 0.9931 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.2747, allocations: 32.16 kB / 0.9931 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.2771, allocations: 2.951 MB / 0.996 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.2774, allocations: 0.7363 MB / 0.9967 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000352/0.2777, allocations: 73.45 kB / 0.9968 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.2779, allocations: 43.42 kB / 0.9968 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.2779, allocations: 0 / 0.9968 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/0.3067, allocations: 3.3 MB / 1 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002832/0.3071, allocations: 216.5 kB / 1 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/2.822, allocations: 0 / 1 GB, free: 4.918 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)