Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 109.6 kB / 16.41 MB, free: 6.508 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.001453/0.001453, allocations: 189.7 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002427/0.002427, allocations: 304.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9953/0.9953, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00211/0.002111, allocations: 95.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5316/0.5337, allocations: 86.97 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006844/0.5406, allocations: 4.207 MB / 0.7711 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004939/0.5455, allocations: 2.649 MB / 0.7737 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/0.5461, allocations: 7.938 kB / 0.7737 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.5475, allocations: 366.3 kB / 0.7741 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001307/0.5488, allocations: 398.2 kB / 0.7745 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.5504, allocations: 0.5094 MB / 0.775 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001279/0.5517, allocations: 0.6932 MB / 0.7756 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006415/0.5523, allocations: 346.5 kB / 0.776 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004437/0.5528, allocations: 271 kB / 0.7762 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006101/0.5534, allocations: 342.7 kB / 0.7766 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.427e-05/0.5535, allocations: 36 kB / 0.7766 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006114/0.5541, allocations: 311.3 kB / 0.7769 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.5543, allocations: 191.5 kB / 0.7771 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.5546, allocations: 254.7 kB / 0.7773 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009023/0.5555, allocations: 0.7188 MB / 0.778 GB, free: 8.672 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5555, allocations: 4 kB / 0.778 GB, free: 8.668 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5555, allocations: 4 kB / 0.778 GB, free: 8.664 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.5555, allocations: 0 / 0.778 GB, free: 8.664 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00152/0.5571, allocations: 0.8068 MB / 0.7788 GB, free: 7.809 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.5571, allocations: 8.031 kB / 0.7788 GB, free: 7.801 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008885/0.558, allocations: 144.1 kB / 0.779 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.5585, allocations: 379 kB / 0.7793 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.5586, allocations: 33.36 kB / 0.7794 GB, free: 7.223 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.102e-05/0.5586, allocations: 40.38 kB / 0.7794 GB, free: 7.184 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.5598, allocations: 0.8215 MB / 0.7802 GB, free: 6.266 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.5599, allocations: 15.92 kB / 0.7802 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.251e-05/0.5599, allocations: 19.97 kB / 0.7802 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.488e-05/0.56, allocations: 60.62 kB / 0.7803 GB, free: 6.172 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.5613, allocations: 0.6385 MB / 0.7809 GB, free: 5.531 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004297/0.5656, allocations: 4.615 MB / 0.7854 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.5666, allocations: 0.4892 MB / 0.7859 GB, free: 60 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/0.5671, allocations: 269.5 kB / 0.7862 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.5671, allocations: 15.97 kB / 0.7862 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.5672, allocations: 42.55 kB / 0.7862 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.505e-06/0.5672, allocations: 0 / 0.7862 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001807/0.569, allocations: 0.8629 MB / 0.7871 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.5691, allocations: 85.05 kB / 0.7871 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.5695, allocations: 361.5 kB / 0.7875 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.5696, allocations: 33.7 kB / 0.7875 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.5698, allocations: 291 kB / 0.7878 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.5699, allocations: 122.3 kB / 0.7879 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.5701, allocations: 118 kB / 0.788 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.5702, allocations: 350.7 kB / 0.7884 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.5707, allocations: 254.9 kB / 0.7886 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.5713, allocations: 478.5 kB / 0.7891 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.5724, allocations: 0.741 MB / 0.7898 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.5724, allocations: 4 kB / 0.7898 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001499/0.5739, allocations: 0.7679 MB / 0.7905 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.5739, allocations: 8 kB / 0.7905 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.574, allocations: 8 kB / 0.7905 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.574, allocations: 15.94 kB / 0.7906 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000673/0.5747, allocations: 163.7 kB / 0.7907 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.5747, allocations: 11.94 kB / 0.7907 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.5752, allocations: 72.14 kB / 0.7908 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.5752, allocations: 24 kB / 0.7908 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005495/0.5758, allocations: 351.4 kB / 0.7912 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005666/0.5763, allocations: 442 kB / 0.7916 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009207/0.5773, allocations: 0.6599 MB / 0.7922 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.488e-06/0.5773, allocations: 4 kB / 0.7922 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001212/0.5785, allocations: 0.6613 MB / 0.7929 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.5785, allocations: 12.22 kB / 0.7929 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5785, allocations: 8 kB / 0.7929 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.5786, allocations: 12 kB / 0.7929 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/0.5791, allocations: 143.7 kB / 0.793 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.5791, allocations: 19.92 kB / 0.7931 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.5795, allocations: 47.81 kB / 0.7931 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.5796, allocations: 27.98 kB / 0.7931 GB, free: 8.125 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.0001794/0.5797, allocations: 225.1 kB / 0.7933 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.08e-05/0.5798, allocations: 39.53 kB / 0.7934 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.5811, allocations: 0.5716 MB / 0.7939 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.5811, allocations: 4 kB / 0.7939 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5811, allocations: 4 kB / 0.7939 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.5811, allocations: 3.984 kB / 0.7939 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.5839, allocations: 1.605 MB / 0.7955 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5839, allocations: 0 / 0.7955 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005671/0.5845, allocations: 120.2 kB / 0.7956 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.5845, allocations: 8.094 kB / 0.7956 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.5846, allocations: 12 kB / 0.7957 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.5846, allocations: 7.984 kB / 0.7957 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.5846, allocations: 11.92 kB / 0.7957 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.5857, allocations: 0.7849 MB / 0.7964 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.5859, allocations: 168.4 kB / 0.7966 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.5859, allocations: 12 kB / 0.7966 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.5864, allocations: 39.94 kB / 0.7966 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.5865, allocations: 43.84 kB / 0.7967 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.5865, allocations: 16 kB / 0.7967 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003126/0.5868, allocations: 259.1 kB / 0.797 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5868, allocations: 0 / 0.797 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000857/0.5877, allocations: 188 kB / 0.7971 GB, free: 3.836 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.0001582/0.5879, allocations: 119.1 kB / 0.7972 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.5896, allocations: 0.9087 MB / 0.7981 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5896, allocations: 4.188 kB / 0.7981 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.5901, allocations: 281.5 kB / 0.7984 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008355/0.5909, allocations: 123.4 kB / 0.7985 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.5929, allocations: 1.039 MB / 0.7995 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.5935, allocations: 0.8748 MB / 0.8004 GB, free: 412 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.5937, allocations: 39.42 kB / 0.8004 GB, free: 372 kB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5937, allocations: 0 / 0.8004 GB, free: 372 kB / 0.5606 GB Notification: Performance of Templates: time 0.01067/0.6043, allocations: 6.441 MB / 0.8067 GB, free: 9.949 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)