Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.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.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 110.3 kB / 16.41 MB, free: 6.5 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.001289/0.001289, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00256/0.00256, allocations: 281.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 99.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4726, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006201/0.4788, allocations: 4.1 MB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002957/0.4817, allocations: 1.593 MB / 0.7726 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.482, allocations: 8 kB / 0.7726 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.4837, allocations: 0.5896 MB / 0.7732 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005565/0.4842, allocations: 230.9 kB / 0.7734 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/0.4848, allocations: 219.6 kB / 0.7736 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006376/0.4854, allocations: 0.5374 MB / 0.7741 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006169/0.4861, allocations: 373.7 kB / 0.7745 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.4863, allocations: 239.2 kB / 0.7747 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004345/0.4868, allocations: 255.1 kB / 0.775 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.819e-05/0.4868, allocations: 36 kB / 0.775 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.4872, allocations: 163.7 kB / 0.7751 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.4873, allocations: 151.6 kB / 0.7753 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.4875, allocations: 195.1 kB / 0.7755 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006957/0.4882, allocations: 0.5271 MB / 0.776 GB, free: 10.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4882, allocations: 0 / 0.776 GB, free: 10.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4882, allocations: 0 / 0.776 GB, free: 10.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.4883, allocations: 4 kB / 0.776 GB, free: 10.7 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001351/0.4896, allocations: 0.6898 MB / 0.7767 GB, free: 9.961 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.4896, allocations: 8.031 kB / 0.7767 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007605/0.4904, allocations: 116.5 kB / 0.7768 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.4909, allocations: 303.8 kB / 0.7771 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.06e-05/0.491, allocations: 55.27 kB / 0.7771 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.636e-05/0.491, allocations: 36.36 kB / 0.7772 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008945/0.4919, allocations: 0.5087 MB / 0.7777 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4919, allocations: 0 / 0.7777 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.492, allocations: 19.98 kB / 0.7777 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/0.492, allocations: 32.98 kB / 0.7777 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007496/0.4928, allocations: 371.7 kB / 0.7781 GB, free: 8.465 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002779/0.4956, allocations: 2.204 MB / 0.7802 GB, free: 6.031 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/0.4963, allocations: 254.5 kB / 0.7805 GB, free: 5.773 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.4967, allocations: 136.8 kB / 0.7806 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.4967, allocations: 4 kB / 0.7806 GB, free: 5.633 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.4968, allocations: 34.56 kB / 0.7806 GB, free: 5.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 2.796e-06/0.4968, allocations: 0 / 0.7806 GB, free: 5.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001636/0.4984, allocations: 0.5655 MB / 0.7812 GB, free: 4.977 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.4985, allocations: 59.39 kB / 0.7812 GB, free: 4.906 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.4987, allocations: 221 kB / 0.7814 GB, free: 4.688 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.4988, allocations: 33.7 kB / 0.7815 GB, free: 4.648 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.4989, allocations: 220.1 kB / 0.7817 GB, free: 4.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.499, allocations: 67.42 kB / 0.7818 GB, free: 4.363 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.795e-05/0.4991, allocations: 53.66 kB / 0.7818 GB, free: 4.305 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4993, allocations: 334.8 kB / 0.7821 GB, free: 3.969 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.4995, allocations: 100.8 kB / 0.7822 GB, free: 3.867 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.4998, allocations: 184.8 kB / 0.7824 GB, free: 3.648 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.5003, allocations: 273.2 kB / 0.7827 GB, free: 3.348 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.5003, allocations: 0 / 0.7827 GB, free: 3.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000929/0.5013, allocations: 376.8 kB / 0.783 GB, free: 2.969 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.5013, allocations: 8 kB / 0.783 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.5013, allocations: 7.938 kB / 0.783 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005341/0.5018, allocations: 105.8 kB / 0.7831 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.502, allocations: 55.91 kB / 0.7832 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003724/0.5058, allocations: 3.054 MB / 0.7862 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.5061, allocations: 35.77 kB / 0.7862 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.5061, allocations: 8 kB / 0.7862 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003734/0.5065, allocations: 222.5 kB / 0.7864 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002965/0.5068, allocations: 182.4 kB / 0.7866 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005011/0.5073, allocations: 275.6 kB / 0.7869 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.5073, allocations: 0 / 0.7869 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008702/0.5081, allocations: 346.2 kB / 0.7872 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.5081, allocations: 11.94 kB / 0.7872 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5081, allocations: 7.938 kB / 0.7872 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003273/0.5085, allocations: 76.84 kB / 0.7873 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.5087, allocations: 55.91 kB / 0.7873 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.5109, allocations: 1.614 MB / 0.7889 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.5112, allocations: 31.83 kB / 0.7889 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.5112, allocations: 15.94 kB / 0.789 GB, free: 12.37 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.5114, allocations: 192.2 kB / 0.7891 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.5115, allocations: 23.84 kB / 0.7892 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.585e-05/0.5115, allocations: 34.17 kB / 0.7892 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5115, allocations: 0 / 0.7892 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.5115, allocations: 0 / 0.7892 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.5115, allocations: 7.922 kB / 0.7892 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.5131, allocations: 0.829 MB / 0.79 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5131, allocations: 0 / 0.79 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.5132, allocations: 35.97 kB / 0.79 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003997/0.5136, allocations: 101.7 kB / 0.7901 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.5136, allocations: 4 kB / 0.7901 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003317/0.5169, allocations: 3.023 MB / 0.7931 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5169, allocations: 4.031 kB / 0.7931 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008494/0.5178, allocations: 412.9 kB / 0.7935 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.5179, allocations: 124.9 kB / 0.7936 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.518, allocations: 0 / 0.7936 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.5181, allocations: 11.98 kB / 0.7936 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-05/0.5182, allocations: 31.91 kB / 0.7937 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.5182, allocations: 4 kB / 0.7937 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000179/0.5184, allocations: 160.5 kB / 0.7938 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5184, allocations: 0 / 0.7938 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006917/0.5191, allocations: 171.5 kB / 0.794 GB, free: 6.812 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001381/0.5192, allocations: 104.5 kB / 0.7941 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002056/0.5213, allocations: 0.7386 MB / 0.7948 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5213, allocations: 4 kB / 0.7948 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000843/0.5222, allocations: 369.7 kB / 0.7952 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.5226, allocations: 64.16 kB / 0.7952 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.5238, allocations: 0.5903 MB / 0.7958 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/0.5244, allocations: 0.8144 MB / 0.7966 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002003/0.5246, allocations: 66.17 kB / 0.7967 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.5246, allocations: 19.44 kB / 0.7967 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.5246, allocations: 0 / 0.7967 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of Templates: time 0.01012/0.5348, allocations: 4.742 MB / 0.8013 GB, free: 15.21 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)