Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.467/1.467, allocations: 288.4 MB / 303.6 MB, free: 8.098 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.0008719/0.0008719, allocations: 176.5 kB / 372.3 MB, free: 10.12 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.174/1.174, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0007167/0.0007167, allocations: 92.64 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003265, allocations: 15.62 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1417, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.001892/0.1436, allocations: 2.072 MB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1451, allocations: 1.365 MB / 0.9836 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.062e-05/0.1452, allocations: 0 / 0.9836 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.1454, allocations: 23.78 kB / 0.9836 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.1457, allocations: 119.6 kB / 0.9837 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.146, allocations: 159.6 kB / 0.9838 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.1463, allocations: 251.2 kB / 0.9841 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003482/0.1466, allocations: 242.3 kB / 0.9843 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1467, allocations: 75.7 kB / 0.9844 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.1469, allocations: 95.64 kB / 0.9845 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.147, allocations: 8 kB / 0.9845 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.1472, allocations: 207.6 kB / 0.9847 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.234e-05/0.1473, allocations: 55.86 kB / 0.9847 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.1474, allocations: 89.38 kB / 0.9848 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1476, allocations: 211.4 kB / 0.985 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1476, allocations: 8 kB / 0.985 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1476, allocations: 0 / 0.985 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.1476, allocations: 0 / 0.985 GB, free: 22.21 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.0004754/0.1481, allocations: 443.2 kB / 0.9855 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1481, allocations: 8.031 kB / 0.9855 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.1482, allocations: 50.73 kB / 0.9855 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004291/0.1486, allocations: 68.58 kB / 0.9856 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.1488, allocations: 228 kB / 0.9858 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1488, allocations: 8.656 kB / 0.9858 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.1488, allocations: 16.38 kB / 0.9858 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.1492, allocations: 283.4 kB / 0.9861 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1492, allocations: 0 / 0.9861 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.1492, allocations: 4 kB / 0.9861 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.958e-05/0.1492, allocations: 20.23 kB / 0.9861 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/0.1495, allocations: 208.4 kB / 0.9863 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.1507, allocations: 1.584 MB / 0.9879 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.1509, allocations: 315.3 kB / 0.9882 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.76e-05/0.151, allocations: 69.66 kB / 0.9882 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.151, allocations: 4 kB / 0.9882 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.1511, allocations: 34.56 kB / 0.9883 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.1511, allocations: 0 / 0.9883 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.000425/0.1515, allocations: 248.4 kB / 0.9885 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.1515, allocations: 77.11 kB / 0.9886 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.1517, allocations: 199.4 kB / 0.9888 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.1517, allocations: 29.7 kB / 0.9888 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.1517, allocations: 163.8 kB / 0.9889 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.1518, allocations: 35.55 kB / 0.989 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.1518, allocations: 4 kB / 0.989 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.69e-05/0.1518, allocations: 326.8 kB / 0.9893 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.927e-05/0.1519, allocations: 67.95 kB / 0.9894 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-05/0.152, allocations: 144.4 kB / 0.9895 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.1522, allocations: 234.9 kB / 0.9897 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1522, allocations: 0 / 0.9897 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002846/0.1525, allocations: 265 kB / 0.99 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/0.1526, allocations: 175.7 kB / 0.9901 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1526, allocations: 4 kB / 0.9901 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1526, allocations: 4 kB / 0.9902 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.1528, allocations: 51.89 kB / 0.9902 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1528, allocations: 4 kB / 0.9902 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.1529, allocations: 15.98 kB / 0.9902 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.153, allocations: 12 kB / 0.9902 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.271e-06/0.153, allocations: 4 kB / 0.9902 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002123/0.1532, allocations: 203.9 kB / 0.9904 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.1532, allocations: 4 kB / 0.9904 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.018e-06/0.1532, allocations: 4 kB / 0.9904 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.1534, allocations: 47.91 kB / 0.9905 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.1534, allocations: 4 kB / 0.9905 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.582e-05/0.1535, allocations: 15.94 kB / 0.9905 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1535, allocations: 15.98 kB / 0.9905 GB, free: 16.08 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 8.393e-05/0.1536, allocations: 221.4 kB / 0.9907 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.1536, allocations: 15.81 kB / 0.9907 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.1538, allocations: 147.1 kB / 0.9909 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1538, allocations: 0 / 0.9909 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1538, allocations: 11.94 kB / 0.9909 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1538, allocations: 3.984 kB / 0.9909 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/0.1545, allocations: 0.7157 MB / 0.9916 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1545, allocations: 4 kB / 0.9916 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.145e-05/0.1546, allocations: 28.27 kB / 0.9916 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.1546, allocations: 8 kB / 0.9916 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1546, allocations: 0 / 0.9916 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1546, allocations: 4 kB / 0.9916 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1546, allocations: 4 kB / 0.9916 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.1548, allocations: 382.2 kB / 0.992 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.1549, allocations: 112.8 kB / 0.9921 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.1549, allocations: 4 kB / 0.9921 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.1551, allocations: 15.98 kB / 0.9921 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.1551, allocations: 15.86 kB / 0.9922 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.1551, allocations: 8 kB / 0.9922 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.09e-05/0.1552, allocations: 144.9 kB / 0.9923 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1552, allocations: 4 kB / 0.9923 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004312/0.1557, allocations: 64 kB / 0.9924 GB, free: 14.03 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.0003655/0.156, allocations: 0.9182 MB / 0.9933 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.1563, allocations: 264.3 kB / 0.9935 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1564, allocations: 0 / 0.9935 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.125e-05/0.1564, allocations: 63.83 kB / 0.9936 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.1569, allocations: 30.11 kB / 0.9936 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.158, allocations: 1.144 MB / 0.9947 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.1582, allocations: 0.7323 MB / 0.9954 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001658/0.1584, allocations: 85.44 kB / 0.9955 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.152e-05/0.1584, allocations: 44.8 kB / 0.9956 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of SimCode: time 4.1e-07/0.1584, allocations: 0 / 0.9956 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2904/0.4489, allocations: 3.304 MB / 0.9988 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.4491, allocations: 220.2 kB / 0.999 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.279, allocations: 0 / 0.999 GB, free: 7.199 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)