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.ParallelResistors.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.ParallelResistors,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",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.428/1.428, allocations: 288.4 MB / 303.6 MB, free: 8.043 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.000898/0.0008981, allocations: 185.8 kB / 372.3 MB, free: 10.13 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.116/1.116, allocations: 205.4 MB / 0.631 GB, free: 9.953 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.0006592/0.0006592, allocations: 96.7 kB / 0.7444 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003316, allocations: 16.3 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002005/0.1445, allocations: 2.264 MB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1459, allocations: 1.26 MB / 0.9836 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.36e-05/0.146, allocations: 7.938 kB / 0.9836 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.1461, allocations: 31.78 kB / 0.9837 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.1464, allocations: 151.4 kB / 0.9838 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.1467, allocations: 135.8 kB / 0.984 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.147, allocations: 307 kB / 0.9842 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/0.1473, allocations: 300 kB / 0.9845 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1475, allocations: 91.62 kB / 0.9846 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.1476, allocations: 115.6 kB / 0.9847 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1477, allocations: 12 kB / 0.9847 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.1479, allocations: 175.6 kB / 0.9849 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.1479, allocations: 55.88 kB / 0.985 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.241e-05/0.148, allocations: 105.2 kB / 0.9851 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.1482, allocations: 231.6 kB / 0.9853 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1482, allocations: 0 / 0.9853 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1482, allocations: 0 / 0.9853 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.1482, allocations: 0 / 0.9853 GB, free: 21.97 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005049/0.1487, allocations: 471.1 kB / 0.9857 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.1487, allocations: 8.031 kB / 0.9857 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.1488, allocations: 50.73 kB / 0.9858 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004006/0.1492, allocations: 64.67 kB / 0.9858 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.1494, allocations: 239.8 kB / 0.9861 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1494, allocations: 12.66 kB / 0.9861 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.1494, allocations: 12.38 kB / 0.9861 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.1498, allocations: 320.7 kB / 0.9864 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1499, allocations: 0 / 0.9864 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.1499, allocations: 11.94 kB / 0.9864 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.1499, allocations: 24.27 kB / 0.9864 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003981/0.1503, allocations: 268.6 kB / 0.9867 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.1514, allocations: 1.513 MB / 0.9882 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.1518, allocations: 261 kB / 0.9884 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.152, allocations: 137.6 kB / 0.9886 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.152, allocations: 0 / 0.9886 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.152, allocations: 38.56 kB / 0.9886 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 9.52e-07/0.152, allocations: 0 / 0.9886 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0005933/0.1526, allocations: 353.3 kB / 0.9889 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.1526, allocations: 85.11 kB / 0.989 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1528, allocations: 178.6 kB / 0.9892 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1528, allocations: 29.7 kB / 0.9892 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.1528, allocations: 140.1 kB / 0.9893 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1529, allocations: 59.14 kB / 0.9894 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-06/0.1529, allocations: 0 / 0.9894 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.956e-05/0.1529, allocations: 330.8 kB / 0.9897 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.1531, allocations: 107.9 kB / 0.9898 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.1533, allocations: 165.1 kB / 0.99 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.1536, allocations: 290.7 kB / 0.9903 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1537, allocations: 0 / 0.9903 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004265/0.1541, allocations: 317.2 kB / 0.9906 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.1541, allocations: 139.2 kB / 0.9907 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1541, allocations: 4 kB / 0.9907 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1542, allocations: 4 kB / 0.9907 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.1544, allocations: 59.89 kB / 0.9908 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1544, allocations: 7.938 kB / 0.9908 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.1546, allocations: 35.81 kB / 0.9908 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.1546, allocations: 12 kB / 0.9908 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/0.1546, allocations: 5.562 kB / 0.9908 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003592/0.155, allocations: 252.9 kB / 0.9911 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-06/0.155, allocations: 0 / 0.9911 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-06/0.155, allocations: 4 kB / 0.9911 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.1552, allocations: 47.97 kB / 0.9911 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1552, allocations: 7.922 kB / 0.9911 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.1553, allocations: 35.81 kB / 0.9911 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1554, allocations: 8.156 kB / 0.9912 GB, free: 15.52 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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.749e-05/0.1555, allocations: 221 kB / 0.9914 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.1555, allocations: 19.75 kB / 0.9914 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004172/0.1559, allocations: 283.7 kB / 0.9917 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1559, allocations: 0 / 0.9917 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.1559, allocations: 4 kB / 0.9917 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.156, allocations: 0 / 0.9917 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007366/0.1567, allocations: 0.685 MB / 0.9923 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1567, allocations: 4 kB / 0.9923 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.1569, allocations: 47.89 kB / 0.9924 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1569, allocations: 4 kB / 0.9924 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1569, allocations: 7.938 kB / 0.9924 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1569, allocations: 11.92 kB / 0.9924 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.157, allocations: 0 / 0.9924 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.1574, allocations: 467.9 kB / 0.9928 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.1574, allocations: 108.8 kB / 0.9929 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.1575, allocations: 11.94 kB / 0.993 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.1576, allocations: 23.91 kB / 0.993 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.1577, allocations: 15.98 kB / 0.993 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1577, allocations: 8 kB / 0.993 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.496e-05/0.1578, allocations: 135.2 kB / 0.9931 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1578, allocations: 0 / 0.9931 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003708/0.1582, allocations: 79.84 kB / 0.9932 GB, free: 13.29 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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.0005049/0.1587, allocations: 0.9881 MB / 0.9942 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005417/0.1592, allocations: 390.2 kB / 0.9945 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1592, allocations: 0 / 0.9945 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1594, allocations: 115.9 kB / 0.9947 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.1598, allocations: 41.66 kB / 0.9947 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.1612, allocations: 1.268 MB / 0.9959 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.1614, allocations: 0.7518 MB / 0.9967 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.1616, allocations: 73.42 kB / 0.9967 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.003e-05/0.1617, allocations: 55.41 kB / 0.9968 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of SimCode: time 2.81e-07/0.1617, allocations: 0 / 0.9968 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5106/0.6722, allocations: 3.793 MB / 1 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/0.6724, allocations: 207.1 kB / 1.001 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/2.937, allocations: 0 / 1.001 GB, free: 5.621 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)