Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.841/1.841, allocations: 292.3 MB / 308.1 MB, free: 4.207 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.00146/0.00146, allocations: 185.3 kB / 376.9 MB, free: 1.738 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.748/1.748, allocations: 205 MB / 0.6353 GB, free: 9.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 94.42 kB / 0.748 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 51.92 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3868, allocations: 114.5 MB / 0.9822 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005654/0.3926, allocations: 2.695 MB / 0.9849 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00271/0.3953, allocations: 1.357 MB / 0.9862 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.3955, allocations: 4 kB / 0.9862 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007923/0.3964, allocations: 179.3 kB / 0.9864 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004353/0.3968, allocations: 159.4 kB / 0.9865 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.3973, allocations: 143.7 kB / 0.9866 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000446/0.3977, allocations: 367 kB / 0.987 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.3981, allocations: 141.4 kB / 0.9871 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.3983, allocations: 95.61 kB / 0.9872 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.3986, allocations: 131.5 kB / 0.9873 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.3987, allocations: 16 kB / 0.9874 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003674/0.3991, allocations: 183.6 kB / 0.9875 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.59e-05/0.3992, allocations: 59.86 kB / 0.9876 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.3993, allocations: 91.47 kB / 0.9877 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.3997, allocations: 291.4 kB / 0.988 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.3997, allocations: 0 / 0.988 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3997, allocations: 0 / 0.988 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.3998, allocations: 0 / 0.988 GB, free: 4.434 MB / 0.7136 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.001075/0.4008, allocations: 0.4911 MB / 0.9884 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.4009, allocations: 16.03 kB / 0.9885 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005189/0.4014, allocations: 68.61 kB / 0.9885 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.4018, allocations: 246.9 kB / 0.9888 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.4018, allocations: 8.656 kB / 0.9888 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.4019, allocations: 16.38 kB / 0.9888 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005878/0.4024, allocations: 317.4 kB / 0.9891 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4025, allocations: 0 / 0.9891 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.4025, allocations: 7.984 kB / 0.9891 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.945e-05/0.4026, allocations: 24.27 kB / 0.9891 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005526/0.4031, allocations: 260.5 kB / 0.9894 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.405, allocations: 1.509 MB / 0.9908 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.4055, allocations: 257 kB / 0.9911 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.4058, allocations: 129.6 kB / 0.9912 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.4058, allocations: 0 / 0.9912 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.4059, allocations: 38.56 kB / 0.9912 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.032e-06/0.4059, allocations: 3.938 kB / 0.9912 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0008663/0.4068, allocations: 345.2 kB / 0.9916 GB, free: 448 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.4068, allocations: 81.11 kB / 0.9917 GB, free: 348 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.407, allocations: 170.7 kB / 0.9918 GB, free: 164 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.4071, allocations: 29.7 kB / 0.9918 GB, free: 128 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.4072, allocations: 140.2 kB / 0.992 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.4072, allocations: 51.2 kB / 0.992 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/0.4073, allocations: 57.62 kB / 0.9921 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4075, allocations: 330.8 kB / 0.9924 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.4077, allocations: 108.8 kB / 0.9925 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.408, allocations: 163.6 kB / 0.9927 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.4085, allocations: 277.1 kB / 0.9929 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4085, allocations: 0 / 0.9929 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000569/0.4091, allocations: 313.1 kB / 0.9932 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.4091, allocations: 4.219 kB / 0.9932 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.4092, allocations: 8 kB / 0.9932 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.4092, allocations: 0 / 0.9932 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.4095, allocations: 59.88 kB / 0.9933 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.4095, allocations: 4 kB / 0.9933 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.4097, allocations: 31.81 kB / 0.9933 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.4098, allocations: 8 kB / 0.9933 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003064/0.4101, allocations: 196 kB / 0.9935 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002367/0.4103, allocations: 156.5 kB / 0.9937 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004224/0.4108, allocations: 249.8 kB / 0.9939 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.845e-06/0.4108, allocations: 4 kB / 0.9939 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005293/0.4113, allocations: 277.1 kB / 0.9942 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.4113, allocations: 8 kB / 0.9942 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.4113, allocations: 3.984 kB / 0.9942 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-06/0.4113, allocations: 4 kB / 0.9942 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.4116, allocations: 51.89 kB / 0.9942 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.4116, allocations: 4 kB / 0.9942 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.4117, allocations: 36.06 kB / 0.9943 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.4118, allocations: 8 kB / 0.9943 GB, free: 13.48 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.4119, allocations: 196.1 kB / 0.9945 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.412, allocations: 15.81 kB / 0.9945 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006175/0.4126, allocations: 267 kB / 0.9947 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.4126, allocations: 7.938 kB / 0.9947 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.4127, allocations: 4 kB / 0.9947 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4127, allocations: 0 / 0.9947 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.4138, allocations: 0.6733 MB / 0.9954 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4138, allocations: 4 kB / 0.9954 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.414, allocations: 52.02 kB / 0.9955 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.4141, allocations: 4 kB / 0.9955 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.4141, allocations: 11.94 kB / 0.9955 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4141, allocations: 0 / 0.9955 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4141, allocations: 4 kB / 0.9955 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.4153, allocations: 1.142 MB / 0.9966 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.4155, allocations: 112.8 kB / 0.9967 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.4156, allocations: 11.98 kB / 0.9967 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.4158, allocations: 19.92 kB / 0.9967 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.4159, allocations: 19.92 kB / 0.9968 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.4159, allocations: 4 kB / 0.9968 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001349/0.416, allocations: 135.2 kB / 0.9969 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.416, allocations: 0 / 0.9969 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007172/0.4168, allocations: 83.84 kB / 0.997 GB, free: 10.55 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002038/0.417, allocations: 95.25 kB / 0.9971 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007735/0.4178, allocations: 379.5 kB / 0.9974 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4178, allocations: 0 / 0.9974 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.418, allocations: 113.1 kB / 0.9975 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.4185, allocations: 48.22 kB / 0.9976 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.4198, allocations: 0.6638 MB / 0.9982 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.4204, allocations: 0.7519 MB / 0.999 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000242/0.4206, allocations: 73.48 kB / 0.999 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.4207, allocations: 19.42 kB / 0.999 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/0.4208, allocations: 0 / 0.999 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of Templates: time 0.006233/0.427, allocations: 2.233 MB / 1.001 GB, free: 6.125 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)