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.649/1.649, allocations: 288.4 MB / 303.3 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.001243/0.001243, allocations: 187.1 kB / 372 MB, free: 10.28 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.74/1.74, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.000785/0.0007847, allocations: 84.66 kB / 0.744 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004823, allocations: 11.69 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2452, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002783/0.2481, allocations: 2.26 MB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.2499, allocations: 1.272 MB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.2502, allocations: 4 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.2504, allocations: 23.78 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004768/0.2508, allocations: 127.4 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.2513, allocations: 137.2 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.2517, allocations: 295.1 kB / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005215/0.2523, allocations: 282.1 kB / 0.9839 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.2525, allocations: 95.61 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.2527, allocations: 111.6 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.2528, allocations: 8 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.253, allocations: 67.89 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.253, allocations: 63.78 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.2531, allocations: 57.64 kB / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.2533, allocations: 215.7 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2533, allocations: 0 / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2533, allocations: 0 / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.2534, allocations: 0 / 0.9845 GB, free: 22.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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006871/0.2541, allocations: 474.8 kB / 0.985 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2541, allocations: 12.02 kB / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.589e-05/0.2542, allocations: 58.53 kB / 0.985 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004715/0.2546, allocations: 63.69 kB / 0.9851 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.2549, allocations: 237.7 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.2549, allocations: 8.281 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.255, allocations: 19.98 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.2554, allocations: 308.6 kB / 0.9856 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2554, allocations: 0 / 0.9856 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.2555, allocations: 4 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.2555, allocations: 28.27 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.256, allocations: 276.5 kB / 0.9859 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.2572, allocations: 1.509 MB / 0.9874 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.2577, allocations: 261.1 kB / 0.9877 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.2579, allocations: 145.6 kB / 0.9878 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.2579, allocations: 0 / 0.9878 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.2579, allocations: 30.56 kB / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.2579, allocations: 4 kB / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0006614/0.2586, allocations: 359.4 kB / 0.9882 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.2586, allocations: 81.11 kB / 0.9883 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2588, allocations: 174.7 kB / 0.9884 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.2588, allocations: 29.7 kB / 0.9885 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.2589, allocations: 144.1 kB / 0.9886 GB, free: 18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.2589, allocations: 55.19 kB / 0.9886 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.2589, allocations: 4 kB / 0.9886 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.259, allocations: 326.8 kB / 0.989 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.2592, allocations: 99.92 kB / 0.9891 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.2594, allocations: 175.6 kB / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.2596, allocations: 124 kB / 0.9893 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2596, allocations: 0 / 0.9893 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005112/0.2601, allocations: 321.1 kB / 0.9896 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.883e-05/0.2602, allocations: 147.2 kB / 0.9898 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2602, allocations: 4 kB / 0.9898 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.2603, allocations: 4 kB / 0.9898 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.2606, allocations: 55.89 kB / 0.9898 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2606, allocations: 11.98 kB / 0.9899 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.2608, allocations: 31.83 kB / 0.9899 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.2608, allocations: 7.984 kB / 0.9899 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.2608, allocations: 9.812 kB / 0.9899 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004172/0.2612, allocations: 244.5 kB / 0.9901 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2613, allocations: 4 kB / 0.9901 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.982e-06/0.2613, allocations: 4 kB / 0.9901 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.2615, allocations: 59.89 kB / 0.9902 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2615, allocations: 0 / 0.9902 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.2617, allocations: 31.98 kB / 0.9902 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.2617, allocations: 8 kB / 0.9902 GB, free: 16.24 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.0001492/0.2618, allocations: 225 kB / 0.9905 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.2619, allocations: 15.81 kB / 0.9905 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.2624, allocations: 279.7 kB / 0.9907 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2624, allocations: 0 / 0.9907 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2624, allocations: 4 kB / 0.9907 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.2625, allocations: 3.984 kB / 0.9907 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008921/0.2633, allocations: 0.685 MB / 0.9914 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2634, allocations: 4 kB / 0.9914 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.2636, allocations: 47.89 kB / 0.9915 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.2636, allocations: 7.938 kB / 0.9915 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.2636, allocations: 0 / 0.9915 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2636, allocations: 8.078 kB / 0.9915 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2636, allocations: 4 kB / 0.9915 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.2641, allocations: 466.5 kB / 0.9919 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-05/0.2642, allocations: 116.8 kB / 0.992 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.2643, allocations: 11.92 kB / 0.9921 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.2645, allocations: 19.98 kB / 0.9921 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.2645, allocations: 19.94 kB / 0.9921 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.2646, allocations: 8 kB / 0.9921 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.799e-05/0.2646, allocations: 131.2 kB / 0.9922 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2646, allocations: 0 / 0.9922 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004226/0.2651, allocations: 83.75 kB / 0.9923 GB, free: 14 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.0006743/0.2658, allocations: 0.9973 MB / 0.9933 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000642/0.2664, allocations: 386.7 kB / 0.9936 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2664, allocations: 0 / 0.9936 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.2666, allocations: 119.8 kB / 0.9938 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.267, allocations: 41.98 kB / 0.9938 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.2689, allocations: 1.26 MB / 0.995 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.2691, allocations: 0.744 MB / 0.9958 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002226/0.2694, allocations: 89.44 kB / 0.9958 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.2695, allocations: 47.42 kB / 0.9959 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of SimCode: time 8.61e-07/0.2695, allocations: 0 / 0.9959 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.287, allocations: 3.786 MB / 0.9996 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/0.2872, allocations: 208.5 kB / 0.9998 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/1.99, allocations: 4.062 kB / 0.9998 GB, free: 6.344 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)