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.705/1.705, allocations: 288.2 MB / 303.2 MB, free: 8.129 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.001226/0.001226, allocations: 183.5 kB / 371.8 MB, free: 10.3 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.532/1.532, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0008372/0.0008371, allocations: 86.92 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.000393, allocations: 11.91 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2463, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003491/0.2498, allocations: 2.237 MB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.2517, allocations: 1.24 MB / 0.9829 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.2519, allocations: 7.938 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.2521, allocations: 23.84 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.2525, allocations: 107.6 kB / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.2528, allocations: 139.6 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.2531, allocations: 151.7 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.2536, allocations: 290 kB / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.2537, allocations: 75.69 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.2539, allocations: 87.72 kB / 0.9837 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.254, allocations: 12 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.2541, allocations: 63.89 kB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.2542, allocations: 51.88 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.2542, allocations: 65.52 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.2544, allocations: 207.8 kB / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2545, allocations: 0 / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2545, allocations: 0 / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2545, allocations: 0 / 0.9841 GB, free: 22.83 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.0006453/0.2551, allocations: 474.8 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2552, allocations: 16.02 kB / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/0.2552, allocations: 50.53 kB / 0.9846 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004746/0.2557, allocations: 79.67 kB / 0.9847 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.256, allocations: 232.3 kB / 0.9849 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.256, allocations: 8.266 kB / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.256, allocations: 12 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.2565, allocations: 308.6 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2565, allocations: 0 / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.2565, allocations: 8 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.965e-05/0.2566, allocations: 24.27 kB / 0.9853 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.257, allocations: 276.5 kB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.2583, allocations: 1.509 MB / 0.987 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.2587, allocations: 270.9 kB / 0.9873 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.2587, allocations: 0 / 0.9873 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.2587, allocations: 38.48 kB / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.2587, allocations: 3.984 kB / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0006506/0.2594, allocations: 357.3 kB / 0.9876 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.2594, allocations: 85.09 kB / 0.9877 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.2596, allocations: 166.7 kB / 0.9879 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.2596, allocations: 25.7 kB / 0.9879 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.2597, allocations: 148.1 kB / 0.988 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.2597, allocations: 55.12 kB / 0.9881 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.2597, allocations: 8 kB / 0.9881 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.2598, allocations: 326.8 kB / 0.9884 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.26, allocations: 99.94 kB / 0.9885 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.2602, allocations: 171.6 kB / 0.9887 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.2604, allocations: 134.2 kB / 0.9888 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2604, allocations: 0 / 0.9888 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004984/0.2609, allocations: 321.2 kB / 0.9891 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001486/0.2611, allocations: 0.6993 MB / 0.9898 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2611, allocations: 7.938 kB / 0.9898 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2611, allocations: 4 kB / 0.9898 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.2614, allocations: 55.89 kB / 0.9899 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2614, allocations: 7.984 kB / 0.9899 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.2616, allocations: 31.83 kB / 0.9899 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.2616, allocations: 15.98 kB / 0.9899 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-06/0.2616, allocations: 0 / 0.9899 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000375/0.262, allocations: 248.2 kB / 0.9901 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-06/0.262, allocations: 0 / 0.9901 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.047e-06/0.262, allocations: 4.219 kB / 0.9901 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.2622, allocations: 59.89 kB / 0.9902 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.2622, allocations: 3.953 kB / 0.9902 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.2624, allocations: 31.83 kB / 0.9902 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.2624, allocations: 4 kB / 0.9902 GB, free: 16.1 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 0.0001125/0.2625, allocations: 226.1 kB / 0.9905 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.2626, allocations: 19.81 kB / 0.9905 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004656/0.263, allocations: 275.7 kB / 0.9907 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.263, allocations: 0 / 0.9907 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2631, allocations: 7.953 kB / 0.9907 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2631, allocations: 3.984 kB / 0.9908 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008351/0.2639, allocations: 0.6811 MB / 0.9914 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2639, allocations: 4.125 kB / 0.9914 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.2641, allocations: 51.89 kB / 0.9915 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.2641, allocations: 11.94 kB / 0.9915 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.2642, allocations: 4 kB / 0.9915 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2642, allocations: 4 kB / 0.9915 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2642, allocations: 0 / 0.9915 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.2647, allocations: 0.5109 MB / 0.992 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.303e-05/0.2648, allocations: 112.8 kB / 0.9921 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.2648, allocations: 7.984 kB / 0.9921 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.265, allocations: 19.94 kB / 0.9921 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.2651, allocations: 19.98 kB / 0.9921 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.2651, allocations: 7.938 kB / 0.9921 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.755e-05/0.2652, allocations: 135.2 kB / 0.9923 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2652, allocations: 0 / 0.9923 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004374/0.2656, allocations: 87.75 kB / 0.9924 GB, free: 13.77 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.0007163/0.2664, allocations: 1.389 MB / 0.9937 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006658/0.267, allocations: 387.6 kB / 0.9941 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.267, allocations: 0 / 0.9941 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.2672, allocations: 120.9 kB / 0.9942 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.2676, allocations: 41.78 kB / 0.9942 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.2697, allocations: 2.313 MB / 0.9965 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.2699, allocations: 0.7673 MB / 0.9973 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.2701, allocations: 69.48 kB / 0.9973 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.2702, allocations: 55.41 kB / 0.9974 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.2702, allocations: 0 / 0.9974 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.285, allocations: 3.771 MB / 1.001 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/0.2853, allocations: 210.5 kB / 1.001 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.087, allocations: 0 / 1.001 GB, free: 4.641 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)