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.001488/0.001488, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002023/0.002023, allocations: 290.9 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9339/0.9339, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 95.98 kB / 0.5952 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1746, allocations: 86.99 MB / 0.6802 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005881/0.1805, allocations: 4.19 MB / 0.6843 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004306/0.1848, allocations: 2.649 MB / 0.6869 GB, free: 9.824 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.1851, allocations: 11.94 kB / 0.6869 GB, free: 9.812 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.1862, allocations: 358.3 kB / 0.6872 GB, free: 9.461 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008081/0.1871, allocations: 394.2 kB / 0.6876 GB, free: 9.074 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.1882, allocations: 0.5096 MB / 0.6881 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007238/0.1889, allocations: 0.6931 MB / 0.6888 GB, free: 7.871 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005266/0.1894, allocations: 351.3 kB / 0.6891 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.1897, allocations: 263.1 kB / 0.6894 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004923/0.1903, allocations: 338.8 kB / 0.6897 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.075e-05/0.1903, allocations: 40 kB / 0.6897 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004936/0.1908, allocations: 311.3 kB / 0.69 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.191, allocations: 199.5 kB / 0.6902 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.1913, allocations: 250.7 kB / 0.6904 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007077/0.192, allocations: 0.7048 MB / 0.6911 GB, free: 5.445 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.192, allocations: 0 / 0.6911 GB, free: 5.445 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.192, allocations: 0 / 0.6911 GB, free: 5.445 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.192, allocations: 0 / 0.6911 GB, free: 5.445 MB / 494.1 MB 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.001358/0.1934, allocations: 0.8106 MB / 0.6919 GB, free: 4.586 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1934, allocations: 12.02 kB / 0.6919 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008527/0.1943, allocations: 152.1 kB / 0.6921 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.1947, allocations: 355.1 kB / 0.6924 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.1948, allocations: 29.38 kB / 0.6925 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.341e-05/0.1949, allocations: 44.36 kB / 0.6925 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.196, allocations: 0.8215 MB / 0.6933 GB, free: 3.055 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.1961, allocations: 11.92 kB / 0.6933 GB, free: 3.043 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/0.1961, allocations: 27.92 kB / 0.6933 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.117e-05/0.1962, allocations: 56.62 kB / 0.6934 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.1973, allocations: 0.6346 MB / 0.694 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003797/0.2011, allocations: 4.635 MB / 0.6985 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009266/0.2021, allocations: 497 kB / 0.699 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.2026, allocations: 277.5 kB / 0.6993 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.2026, allocations: 4 kB / 0.6993 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.2026, allocations: 42.55 kB / 0.6993 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.483e-06/0.2026, allocations: 0 / 0.6993 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.00165/0.2043, allocations: 0.8558 MB / 0.7002 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.2044, allocations: 85.05 kB / 0.7002 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.2047, allocations: 369.4 kB / 0.7006 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.2047, allocations: 33.7 kB / 0.7006 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.2049, allocations: 287 kB / 0.7009 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.332e-05/0.205, allocations: 126.3 kB / 0.701 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.2052, allocations: 110.1 kB / 0.7011 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2054, allocations: 354.7 kB / 0.7015 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.2058, allocations: 250.9 kB / 0.7017 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/0.2064, allocations: 482.5 kB / 0.7022 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.2075, allocations: 0.7504 MB / 0.7029 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2075, allocations: 4 kB / 0.7029 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001239/0.2087, allocations: 0.7583 MB / 0.7036 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2088, allocations: 8 kB / 0.7036 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.2088, allocations: 8 kB / 0.7036 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.2088, allocations: 8 kB / 0.7037 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/0.2095, allocations: 163.7 kB / 0.7038 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.2095, allocations: 15.94 kB / 0.7038 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.2099, allocations: 76.11 kB / 0.7039 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.21, allocations: 28 kB / 0.7039 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005278/0.2105, allocations: 349.7 kB / 0.7043 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000502/0.211, allocations: 437.4 kB / 0.7047 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009198/0.2119, allocations: 0.6616 MB / 0.7053 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.729e-06/0.212, allocations: 4 kB / 0.7053 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001069/0.213, allocations: 0.6632 MB / 0.706 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.213, allocations: 12 kB / 0.706 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2131, allocations: 8 kB / 0.706 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2131, allocations: 19.94 kB / 0.706 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.2136, allocations: 143.7 kB / 0.7062 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.2136, allocations: 19.92 kB / 0.7062 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.214, allocations: 55.66 kB / 0.7062 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.214, allocations: 27.98 kB / 0.7062 GB, free: 4.898 MB / 0.4981 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.0001621/0.2142, allocations: 224.7 kB / 0.7065 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/0.2143, allocations: 39.53 kB / 0.7065 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.2154, allocations: 0.5717 MB / 0.7071 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.2154, allocations: 4 kB / 0.7071 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2154, allocations: 0 / 0.7071 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.2154, allocations: 11.98 kB / 0.7071 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.2178, allocations: 1.601 MB / 0.7086 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2179, allocations: 4.469 kB / 0.7086 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.2184, allocations: 115.9 kB / 0.7088 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.2184, allocations: 7.984 kB / 0.7088 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.2184, allocations: 8 kB / 0.7088 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.2185, allocations: 11.94 kB / 0.7088 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.2185, allocations: 4 kB / 0.7088 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.2195, allocations: 0.7876 MB / 0.7096 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.2197, allocations: 164.5 kB / 0.7097 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.2198, allocations: 11.94 kB / 0.7097 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.2202, allocations: 51.94 kB / 0.7098 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.584e-05/0.2203, allocations: 35.84 kB / 0.7098 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.2203, allocations: 12 kB / 0.7098 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002494/0.2206, allocations: 263.1 kB / 0.7101 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2206, allocations: 0 / 0.7101 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007987/0.2214, allocations: 192 kB / 0.7103 GB, free: 0.6094 MB / 0.4981 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.0001534/0.2215, allocations: 112.9 kB / 0.7104 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.2231, allocations: 0.936 MB / 0.7113 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2231, allocations: 0 / 0.7113 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004628/0.2236, allocations: 268.8 kB / 0.7115 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008059/0.2244, allocations: 134.4 kB / 0.7117 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.2258, allocations: 1.01 MB / 0.7126 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.2262, allocations: 0.867 MB / 0.7135 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005012/0.2267, allocations: 200 kB / 0.7137 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.2269, allocations: 39.44 kB / 0.7137 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.2269, allocations: 0 / 0.7137 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.00991/0.2368, allocations: 6.113 MB / 0.7197 GB, free: 6.891 MB / 0.5137 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)