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.004187/0.004187, allocations: 96.72 kB / 15.73 MB, free: 6 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.000986/0.000986, allocations: 185.4 kB / 16.67 MB, free: 5.93 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002163, allocations: 290.3 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9543/0.9543, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 91.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1702, allocations: 86.97 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005812/0.1761, allocations: 4.197 MB / 0.7705 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004282/0.1804, allocations: 2.637 MB / 0.7731 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.1808, allocations: 11.94 kB / 0.7731 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.182, allocations: 382.2 kB / 0.7734 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.1831, allocations: 386.3 kB / 0.7738 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.1844, allocations: 0.5098 MB / 0.7743 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3168/0.5012, allocations: 0.69 MB / 0.775 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008138/0.502, allocations: 347.2 kB / 0.7753 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005265/0.5026, allocations: 266.4 kB / 0.7756 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005918/0.5032, allocations: 336.4 kB / 0.7759 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.762e-05/0.5033, allocations: 42.78 kB / 0.7759 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007715/0.5041, allocations: 311.4 kB / 0.7762 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.5043, allocations: 190.4 kB / 0.7764 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.5046, allocations: 251.1 kB / 0.7766 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.5058, allocations: 0.7197 MB / 0.7773 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.5059, allocations: 4.391 kB / 0.7773 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.246e-06/0.5059, allocations: 1.438 kB / 0.7773 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.5059, allocations: 4.562 kB / 0.7773 GB, free: 8.934 MB / 0.5606 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.001426/0.5073, allocations: 0.8177 MB / 0.7781 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5074, allocations: 10.47 kB / 0.7782 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009098/0.5083, allocations: 150.5 kB / 0.7783 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.5088, allocations: 375.7 kB / 0.7787 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.5088, allocations: 29.69 kB / 0.7787 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/0.5089, allocations: 48.62 kB / 0.7787 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.51, allocations: 0.8239 MB / 0.7795 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.51, allocations: 9 kB / 0.7795 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.5101, allocations: 16.44 kB / 0.7796 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.502e-05/0.5102, allocations: 63.92 kB / 0.7796 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.5113, allocations: 0.6396 MB / 0.7802 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00307/0.5144, allocations: 4.63 MB / 0.7848 GB, free: 20.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008844/0.5153, allocations: 0.4892 MB / 0.7852 GB, free: 20.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004268/0.5157, allocations: 274 kB / 0.7855 GB, free: 20.03 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.5157, allocations: 6.984 kB / 0.7855 GB, free: 20.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.5157, allocations: 37.81 kB / 0.7855 GB, free: 19.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.5158, allocations: 0 / 0.7855 GB, free: 19.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.001669/0.5174, allocations: 0.885 MB / 0.7864 GB, free: 19.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.5175, allocations: 81.08 kB / 0.7865 GB, free: 19.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.5178, allocations: 368.3 kB / 0.7868 GB, free: 19.44 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.5179, allocations: 29.7 kB / 0.7869 GB, free: 19.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.518, allocations: 296 kB / 0.7872 GB, free: 19.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.15e-05/0.5181, allocations: 134.8 kB / 0.7873 GB, free: 19.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.5183, allocations: 112.3 kB / 0.7874 GB, free: 19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5184, allocations: 350.5 kB / 0.7877 GB, free: 18.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.5189, allocations: 256.1 kB / 0.788 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004896/0.5193, allocations: 475.6 kB / 0.7884 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008969/0.5203, allocations: 0.7524 MB / 0.7892 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5203, allocations: 0 / 0.7892 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001141/0.5214, allocations: 0.7695 MB / 0.7899 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5214, allocations: 8 kB / 0.7899 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5215, allocations: 6.719 kB / 0.7899 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.5215, allocations: 16.86 kB / 0.7899 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/0.5221, allocations: 159.8 kB / 0.7901 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.5221, allocations: 16.72 kB / 0.7901 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/0.5225, allocations: 67.72 kB / 0.7902 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.5226, allocations: 31.31 kB / 0.7902 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004926/0.5231, allocations: 346.5 kB / 0.7905 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004253/0.5235, allocations: 438 kB / 0.7909 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007693/0.5243, allocations: 0.6667 MB / 0.7916 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.357e-06/0.5243, allocations: 3.375 kB / 0.7916 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001029/0.5253, allocations: 0.6614 MB / 0.7922 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.5254, allocations: 11.92 kB / 0.7923 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5254, allocations: 7.719 kB / 0.7923 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.5254, allocations: 11.97 kB / 0.7923 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.5259, allocations: 142.2 kB / 0.7924 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.5259, allocations: 16.38 kB / 0.7924 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.5263, allocations: 58.97 kB / 0.7925 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.5263, allocations: 34.33 kB / 0.7925 GB, free: 16.25 MB / 0.5762 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.0001388/0.5265, allocations: 217.7 kB / 0.7927 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-05/0.5265, allocations: 38.73 kB / 0.7928 GB, free: 16.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.5276, allocations: 0.5765 MB / 0.7933 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.5276, allocations: 2.031 kB / 0.7933 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5276, allocations: 5.547 kB / 0.7933 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.5276, allocations: 4.875 kB / 0.7933 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.5299, allocations: 1.599 MB / 0.7949 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5299, allocations: 6.594 kB / 0.7949 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/0.5305, allocations: 113.4 kB / 0.795 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.5305, allocations: 10.45 kB / 0.795 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.5305, allocations: 7.438 kB / 0.795 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.5305, allocations: 8.422 kB / 0.795 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5305, allocations: 2.141 kB / 0.795 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009276/0.5315, allocations: 0.7887 MB / 0.7958 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.5316, allocations: 170.8 kB / 0.796 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.167e-05/0.5317, allocations: 15.84 kB / 0.796 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.5321, allocations: 48.53 kB / 0.796 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.5322, allocations: 31.22 kB / 0.7961 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.5322, allocations: 14.16 kB / 0.7961 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002221/0.5324, allocations: 258.4 kB / 0.7963 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5325, allocations: 4 kB / 0.7963 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007684/0.5332, allocations: 187.9 kB / 0.7965 GB, free: 14.16 MB / 0.5762 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.0001124/0.5333, allocations: 120.4 kB / 0.7966 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.5349, allocations: 0.9128 MB / 0.7975 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.535, allocations: 1.312 kB / 0.7975 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005159/0.5355, allocations: 269.2 kB / 0.7978 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007882/0.5363, allocations: 130.2 kB / 0.7979 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.5379, allocations: 1.014 MB / 0.7989 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.5385, allocations: 0.8742 MB / 0.7997 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006269/0.5392, allocations: 196.4 kB / 0.7999 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.5394, allocations: 40 kB / 0.8 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of SimCode: time 4.2e-07/0.5394, allocations: 0 / 0.8 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of Templates: time 0.01198/0.5513, allocations: 6.215 MB / 0.806 GB, free: 12 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)