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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 197.7 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.695/1.695, allocations: 292.2 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 69.8 kB / 0.6708 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.301, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005337/0.3064, allocations: 2.703 MB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002612/0.309, allocations: 1.353 MB / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.3092, allocations: 4 kB / 0.7866 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007364/0.31, allocations: 171.3 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.3105, allocations: 163.4 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.311, allocations: 147.7 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005849/0.3116, allocations: 363 kB / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004842/0.3121, allocations: 145.4 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.3124, allocations: 91.61 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.3128, allocations: 123.6 kB / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.3129, allocations: 15.94 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.3133, allocations: 183.6 kB / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3134, allocations: 67.8 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.3135, allocations: 83.53 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004835/0.314, allocations: 295.3 kB / 0.7884 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.314, allocations: 0 / 0.7884 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.314, allocations: 3.938 kB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.314, allocations: 0 / 0.7884 GB, free: 8.078 MB / 0.6075 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.001019/0.3151, allocations: 0.495 MB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3151, allocations: 8.031 kB / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005991/0.3157, allocations: 64.67 kB / 0.789 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.3161, allocations: 239.9 kB / 0.7892 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.3161, allocations: 16.66 kB / 0.7892 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.3161, allocations: 8.375 kB / 0.7892 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.3167, allocations: 309.4 kB / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3167, allocations: 0 / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.3167, allocations: 7.984 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/0.3168, allocations: 36.19 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.3173, allocations: 264.5 kB / 0.7898 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.319, allocations: 1.505 MB / 0.7913 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.3195, allocations: 257 kB / 0.7915 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.3197, allocations: 125.6 kB / 0.7916 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.3198, allocations: 4 kB / 0.7916 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.3198, allocations: 38.55 kB / 0.7917 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.3198, allocations: 0 / 0.7917 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007661/0.3206, allocations: 336.1 kB / 0.792 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.3206, allocations: 85.23 kB / 0.7921 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.3208, allocations: 171.1 kB / 0.7922 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.3208, allocations: 37.64 kB / 0.7923 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.3209, allocations: 136.1 kB / 0.7924 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.321, allocations: 55.2 kB / 0.7925 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.399e-05/0.3211, allocations: 49.62 kB / 0.7925 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3212, allocations: 330.8 kB / 0.7928 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.3214, allocations: 104.8 kB / 0.7929 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.3217, allocations: 174.1 kB / 0.7931 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004472/0.3221, allocations: 282 kB / 0.7934 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3221, allocations: 0 / 0.7934 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005551/0.3227, allocations: 313.1 kB / 0.7937 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.3227, allocations: 4 kB / 0.7937 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3228, allocations: 4 kB / 0.7937 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3228, allocations: 4 kB / 0.7937 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.3231, allocations: 55.89 kB / 0.7937 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3231, allocations: 4.219 kB / 0.7937 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.3233, allocations: 35.81 kB / 0.7938 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.3233, allocations: 4 kB / 0.7938 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002745/0.3236, allocations: 200 kB / 0.794 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002115/0.3238, allocations: 152.5 kB / 0.7941 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003801/0.3242, allocations: 253.4 kB / 0.7943 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.3242, allocations: 0 / 0.7943 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004923/0.3247, allocations: 281.3 kB / 0.7946 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.3247, allocations: 8 kB / 0.7946 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.3248, allocations: 4 kB / 0.7946 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/0.3248, allocations: 0 / 0.7946 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.325, allocations: 55.89 kB / 0.7947 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.325, allocations: 0 / 0.7947 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.3252, allocations: 27.83 kB / 0.7947 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.3252, allocations: 8 kB / 0.7947 GB, free: 1.152 MB / 0.6075 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.0001259/0.3253, allocations: 204.2 kB / 0.7949 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.3254, allocations: 15.81 kB / 0.7949 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005211/0.3259, allocations: 267 kB / 0.7952 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3259, allocations: 0 / 0.7952 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.326, allocations: 4 kB / 0.7952 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.326, allocations: 3.984 kB / 0.7952 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.327, allocations: 0.6771 MB / 0.7958 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.327, allocations: 0 / 0.7958 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.3272, allocations: 47.89 kB / 0.7959 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.3273, allocations: 7.984 kB / 0.7959 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.3273, allocations: 7.938 kB / 0.7959 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3273, allocations: 7.938 kB / 0.7959 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3273, allocations: 4.125 kB / 0.7959 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005295/0.3278, allocations: 453 kB / 0.7963 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.328, allocations: 112.8 kB / 0.7965 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.328, allocations: 15.92 kB / 0.7965 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.3282, allocations: 15.97 kB / 0.7965 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.3283, allocations: 15.98 kB / 0.7965 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.3283, allocations: 4 kB / 0.7965 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000111/0.3284, allocations: 131.8 kB / 0.7966 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3284, allocations: 0 / 0.7966 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004882/0.3289, allocations: 91.75 kB / 0.7967 GB, free: 14.96 MB / 0.6231 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.0001569/0.3291, allocations: 103.9 kB / 0.7968 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007556/0.3299, allocations: 376.4 kB / 0.7972 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.3299, allocations: 0 / 0.7972 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.3301, allocations: 115.8 kB / 0.7973 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.3306, allocations: 48.5 kB / 0.7973 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008902/0.3315, allocations: 0.5028 MB / 0.7978 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.3319, allocations: 0.7402 MB / 0.7985 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002339/0.3321, allocations: 77.41 kB / 0.7986 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.3322, allocations: 23.44 kB / 0.7986 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.3322, allocations: 0 / 0.7986 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of Templates: time 0.005883/0.3381, allocations: 2.155 MB / 0.8007 GB, free: 10.78 MB / 0.6231 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)